[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnutls-dev] Session resuming in gnutls-cli
From: |
Ivo Timmermans |
Subject: |
[gnutls-dev] Session resuming in gnutls-cli |
Date: |
Mon Apr 14 19:40:02 2003 |
User-agent: |
Mutt/1.3.28i |
Hi,
gnutls-cli -r -p 993 imap.o2w.nl:
Resolving 'imap.o2w.nl'...
Connecting to '213.133.41.126:993'...
- Certificate type: X.509
- Certificate info:
...
- Compression: NULL
- Disconnecting
- Connecting again- trying to resume previous session
*** Handshake has failed
GNUTLS ERROR: Error in the push function.
An strace reveals:
write(1, "- Connecting again- trying to re"..., 54- Connecting again-
trying to resume previous session) = 54
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(993),
sin_addr=inet_addr("213.133.41.126")}, 16) = 0
send(-1, "\26\3\1\0\203\1\0\0\177\3\1>\232\362\17}|w\21\253O\37;"...,
136, 0) = -1 EBADF (Bad file descriptor)
write(2, "*** Handshake has failed\n", 25*** Handshake has failed) = 25
write(2, "GNUTLS ERROR: Error in the push "..., 42GNUTLS ERROR: Error
in the push function.
Apparently the sample client in doc/examples/ex-client-resume.c does
work correctly.
Ivo
--
Bus error
- [gnutls-dev] Session resuming in gnutls-cli,
Ivo Timmermans <=