+shttpd-general

On 03/11/2007, Groleo Marius <[EMAIL PROTECTED]> wrote:
>
> On 11/3/07, Sergey Lyubka <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Another thing that I find weird is that InitializeCriticalSection,
> > > EnterCriticalSection
> > > and LeaveCriticalSection are not implemented on UNIX.
> >
> > That's true. As far  addition and deletion of the connections
> > is done in single thread, it is OK to do so without locking.
> >
> >
> Ok, I've done some research To see if the I should use the state.
> And this is what I found. I'll
> write the test steps below:
> A.---------
> 1.start service.
> 2.get the page with the browser.
> 3.stop service.
>
> B.------
> 4.start service
> 5.hit refresh in the browser.
> 6. strange things happens.
>
> At A, all the methodCalls get the arg->in.buf like this:
>     3659    xmlrpc_svc.c    83 : [          methodCall] : HTTP_XMLRPC:
> STATE: [0] [<?xml
> version="1.0
> "?><methodCall><methodName>listTests</methodName><params><param><value><string>groleo</string></value></param></params></methodCall>]
>
>
> At B it looks like this
>     3683    xmlrpc_svc.c    83 : [          methodCall] : HTTP_XMLRPC:
> STATE: [0] [POST /XMLRPC HTTP/1.1
> Host: localhost:8000
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3)
> Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-2)
> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
> ,text/plain;q=0.8,image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Content-Type: text/xml
> Referer: http://localhost:8000/
> Content-Length: 150
> Pragma: no-cache
> Cache-Control: no-cache
>
> ]
>
> If you need any code or an account on my machine just let me know.
> --
> Regards, Groleo!
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general

Reply via email to