RE: Need help for select and a SSL_read problem

2006-08-02 Thread David Schwartz
Thanks Darryl for your help. I wrote that when I send a new packet from the client I can read the missing packets, but not the new one But in fact I can read the missing packets and a part of the second packets. Here is the trace. I send a trame of 10 bytes from the client, and the

Need help for select and a SSL_read problem

2006-07-28 Thread GUIRY Aroun
Hi all I am doing a simple ssl server/client. I use a select function to read and write in the socket. From my client I send 1KB of data, in one time, and then I expect to read it in the server. In the server appli, I have got a select read hit, and I read 500B. Then I expect to have a

Re: Need help for select and a SSL_read problem

2006-07-28 Thread Girish Venkatachalam
--- GUIRY Aroun [EMAIL PROTECTED] wrote: Hi all I am doing a simple ssl server/client. I use a select function to read and write in the socket. From my client I send 1KB of data, in one time, and then I expect to read it in the server. In the server appli, I have got a select

Re: Need help for select and a SSL_read problem

2006-07-28 Thread Darryl Miles
GUIRY Aroun wrote: If I send a new packet from the client I can read the missing packets, but not the new one. I use non-blocking sockets. Are you on linux ? Can you run 'strace' or 'strace -p pid' and paste the relevant parts of the output to the list. Darryl

Re: Need help for select and a SSL_read problem

2006-07-28 Thread Marek Marcola
Hello, I am doing a simple ssl server/client. I use a select function to read and write in the socket. From my client I send 1KB of data, in one time, and then I expect to read it in the server. In the server appli, I have got a select read hit, and I read 500B. Then I expect to have

Re: Need help for select and a SSL_read problem

2006-07-28 Thread GUIRY Aroun
Thanks Darryl for your help. I wrote that when I send a new packet from the client I can read the missing packets, but not the new one But in fact I can read the missing packets and a part of the second packets. Here is the trace. I send a trame of 10 bytes from the client, and the server

Re: Need help for select and a SSL_read problem

2006-07-28 Thread Darryl Miles
GUIRY Aroun wrote: Thanks Darryl for your help. I wrote that when I send a new packet from the client I can read the missing packets, but not the new one But in fact I can read the missing packets and a part of the second packets. Here is the trace. I send a trame of 10 bytes from the

Re: Need help for select and a SSL_read problem

2006-07-28 Thread Marek Marcola
Hello, write(1, Connection realized\r\n, 21) = 21 select(5, [4], NULL, NULL, NULL - I send a trame of 10 bytes - read(4, \27\3\0\0 , 5)

Re: SSL_read problem

2000-11-27 Thread Wolfgang Marczy
Wolfgang Marczy@TOPCALL 11/27/2000 04:20 PM To: [EMAIL PROTECTED]@smtp cc: Subject:Re: SSL_read problem Hi everybody, I get the strange error140DF114:SSL routines:SSL_read:uninitialized , though I have initialized the connection as seen below. Has anybody encountered

Re: SSL_read problem

2000-11-27 Thread Lutz Jaenicke
On Mon, Nov 27, 2000 at 04:21:05PM +0100, Wolfgang Marczy wrote: Hi everybody, I get the strange error140DF114:SSL routines:SSL_read:uninitialized , though I have initialized the connection as seen below. The error message indicates that s-handshake_func is not set. This does not make

SSL_read problem

2000-11-23 Thread Wolfgang Marczy
Hi everybody, I am developing on an SSL enhancement for an SMTP Server and I want ot use the OpenSSL API to establish the SSL connection. So far I initialized the SSL connection, also the SSL_accept worked fine. But as I want to read from the socket I always get a -1 as return value. I am

RE: SSL_read problem

2000-11-23 Thread Dale Peakall
You need to determine what the SSL error is that you're receiving (use SSL_get_error). It may well be SSL_ERROR_WANT_READ saying that you need to call SSL_read again for it to get all the data you've requested (particularly if you're using non-blocking sockets). - Dale.

SSL_read problem

2000-10-02 Thread Wirta, Ville
Hi! I'm having a problem reading from socket when connection keep-alive is on. SSL_read returns -2. What could that -2 possible mean? I tried to look at the code but did'nt find the red thread. Thanks already if anyone knows! Yours VW

SSL_read problem

2000-01-31 Thread Amir Amit
hi. when I run SSL_read on a socket (as the client), where the server is down, SSL_read returns with 0 - as there where no bytes to read from socket. This is not true - the server is down and there will never be something to read from server. Because the SSL_read command is non blocking and is

Re: SSL_read problem

2000-01-31 Thread Geoff Thorpe
On Mon, 31 Jan 2000, Amir Amit wrote: hi. when I run SSL_read on a socket (as the client), where the server is down, SSL_read returns with 0 - as there where no bytes to read from socket. This is not true - the server is down and there will never be something to read from server. Because

Re: SSL_read problem

2000-01-31 Thread Skye Poier
Word on the street is that Amir Amit said: when I run SSL_read on a socket (as the client), where the server is down, SSL_read returns with 0 - as there where no bytes to read from socket. This is not true - the server is down and there will never be something to read from server. Because the