Hi
I'm about to develop a server application which should be able to
handle ALOT of connections, say 20k-30k
Any suggestions as to how I should tackle this problem?
I am really new with OpenSSL and haven't really grasped it all yet.
I've been searching the net for a couple of days now just to find
> > I'm about to develop a server application which should be able to
> > handle ALOT of connections, say 20k-30k
> > Any suggestions as to how I should tackle this problem?
>
> It takes a lot of experience to develop a system that can handle more than
> 10,000 simultaneous connections. I don't thi
> Yes, 'epoll' is the most efficient mechanism on Linux. I recommend using
> level-triggered events because it's simpler.
That's the opposite as to what I have done. :)
From what I have read I gathered that Event Triggered is MUCH faster.
But I guess I could have gotten it all wrong.
> More gener
#0 0x08081361 in BIO_ctrl ()
#1 0x0815fac0 in ?? ()
#2 0x08051a88 in ?? ()
#3 0xbf9a4e98 in ?? ()
#4 0x0805ad6e in SSLwrapper::ProcessBuffers (this=0xb7fdb480,
[EMAIL PROTECTED], read=false, write=false) at SSLwrapper.cpp:34
Previous frame inner to this frame (corrupt stack?)
I get that when
> #0 0x08081361 in BIO_ctrl ()
> #1 0x0815fac0 in ?? ()
> #2 0x08051a88 in ?? ()
> #3 0xbf9a4e98 in ?? ()
> #4 0x0805ad6e in SSLwrapper::ProcessBuffers (this=0xb7fdb480,
> [EMAIL PROTECTED], read=false, write=false) at SSLwrapper.cpp:34
> Previous frame inner to this frame (corrupt stack?)
>
>
Hi,
I've been trying to figure out (plus testing) how to actually use SSL_write.
I write alot of data and have an internal Send Queue in which I keep
"packets".
I try to follow this reasoning:
1) try to write the entire chunk with SSL_write
if it returns the same value as 'len' then it su
>Hi,
>
> > I've been trying to figure out (plus testing) how to actually
> > use SSL_write.
>
> Call SSL_write with the same parameters until it succeeds. You need
> to handle WANT_READ and WANT_WRITE return values.
I guess that is clear enough.
but does that imply if I call
SSL_write(ssl, buffe
On Friday 30 March 2007 22:41, David Schwartz wrote:
> > > Call SSL_write with the same parameters until it succeeds. You need
> > > to handle WANT_READ and WANT_WRITE return values.
> >
> > I guess that is clear enough.
> > but does that imply if I call
> > SSL_write(ssl, buffer, len),
> > it wil
On Saturday 31 March 2007 00:26, David Schwartz wrote:
> > I see, so if I disable PARTIAL_WRITES, will that mean that it will return
> > values as I wrote up there?
>
> PARTIAL_WRITES has no effect on the meaning of the return value. It just
> controls whether or not the internal write logic tries
On Saturday 31 March 2007 13:30, David Schwartz wrote:
> > It's just this I'm having a hard trouble to grasp.
> > Normally with say 'write' I would do
> >
> > // pseudo code
> > while(written < len)
> >written += write(fd, my_packet + written, len - written);
> >
> > But because SSL_write handl
10 matches
Mail list logo