> From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
> Sent: Thursday, July 26, 2001 10:00 PM
>
>
> > From: "Roy T. Fielding" <[EMAIL PROTECTED]>
> > Sent: Thursday, July 26, 2001 9:32 PM
> >
> >
> > > We might trip over this one at some point, so I figured it is worth
> > > placing in the archive.
> >
> > Bill Stoddard's efforts have been in exactly the _opposite_ direction :-)
> > Our aim is to reuse the socket, rather than a fast-disconnect and close.
>
> I stand corrected... we do accept the APR_SENDFILE_DISCONNECT_SOCKET option,
> and we do slam that closed on c->keepalive in the core. Actually, we go a
> step further and TF_REUSE_SOCKET, which is sort of known not to really be
> well supported.
>
Actually I think the DISCONNECT|REUSE is a relatively well known and used
optimization. I
have not observed any problems with it on NT 4.0. Never tested it on 2000 though.
Reusing
the accept socket on AcceptEx provides a -really- big performance boost for non-keep
alive
connections. I wonder if the problem happens with the REUSE flag? in addition to the
DISCONNECT? Will do some digging around...
Bill