Re: BIO_read() error 0 -- long post

2003-09-18 Thread Mark Pietras
Thanks for the comments. I have no problem using aysnc api's, but I inherently have a problem polling, which, if I read your comments correctly, you are suggesting in either case (read->write->'sleep a bit'->repeat, or select 'with a short timeout'->repeat). If I have LOTS of connections (1000+)

Re: BIO_read() error 0 -- long post

2003-08-28 Thread Dr. Stephen Henson
On Wed, Aug 27, 2003, Mark Pietras wrote: > Steve, thank you for your comments... I have some serious rework to do before I > can test reading and writing on the same thread. I won't go down the semaphore > protection path as it sounds like the stack simply wasn't designed with that > type of use

RE: BIO_read() error 0 -- long post

2003-08-27 Thread David Schwartz
> Steve, thank you for your comments... I have some serious rework > to do before I > can test reading and writing on the same thread. I won't go down > the semaphore > protection path as it sounds like the stack simply wasn't > designed with that > type of use in mind. No sense forcing it!

Re: BIO_read() error 0 -- long post

2003-08-27 Thread Mark Pietras
Steve, thank you for your comments... I have some serious rework to do before I can test reading and writing on the same thread. I won't go down the semaphore protection path as it sounds like the stack simply wasn't designed with that type of use in mind. No sense forcing it! In the mean time t

Re: BIO_read() error 0 -- long post

2003-08-27 Thread Dr. Stephen Henson
On Wed, Aug 27, 2003, Mark Pietras wrote: > [code snipped] > > My connection drops with a "SSL read error: 0" sent to the log. Again, it’s a > multi-threaded single-process project. The project is portable between Windows > and Linux; I have the same problem on both platforms. Each sslio BIO

BIO_read() error 0 -- long post

2003-08-27 Thread Mark Pietras
I’ve been using OpenSSL for some time now but I’ve run into a problem I just can’t track down... first time post here... hoping someone has some insight. Sorry about the length; I'm just trying to provide all information I have... The basics of the problem: I’ve got a solution (clients and serve

Re: BIO_read error

2002-11-25 Thread marcus.carey
See FAQ. - Original Message - From: "ahmad f" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 2:23 AM Subject: BIO_read error > hi > i have some problems using BIO_read /write/gets/puts in visual c++ > i wrote this code to

BIO_read error

2002-11-25 Thread ahmad f
hi i have some problems using BIO_read /write/gets/puts in visual c++ i wrote this code to access to the BIO and read some data each time i use this function i obtain this error : The instruction at 0x1003159d referenced memory at 0xccd0 . the memory could not be read could someone tel