curl-library
RE: sws test server with --fork
Date: Wed, 1 Aug 2012 16:48:18 +0000
> From: curl-library [curl-library-bounces_at_cool.haxx.se] on behalf of Daniel
> Stenberg [daniel_at_haxx.se]
> Sent: Wednesday, August 01, 2012 11:40 AM
> To: libcurl development
> Subject: Re: sws test server with --fork
>
> > The reason I want it right now is because I wrote a test of NTLM auth, and
> > found that because NTLM is connection oriented, curl will only reuse the
> > same connection for requests with the exact same NTLM paramters. If you
> > try
> > to make two NTLM requests to the same host but with different usernames or
> > passwords, curl will use a separate connection for each. Which is fine,
> > but
> > without the --fork option to sws, the test suite only listens on one
> > connection at a time. With --fork, my new test seems to work.
>
> Ah yes, makes sense. If we really need to have more than one conection to the
> server up, then we need to make the server handle it I'd say!
My new test just stopped working even with --fork. Don't know why... I'm leaning towards extending the sws server to use poll() and multiple sockets in the same process. That will take care of concerns about serialization of the log files, etc, and make sure we don't lose any state.
Joe
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-01