[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] Socket shutdown() and close() syscalls
From: |
Enrico Migliore - FATTI srl |
Subject: |
[libmicrohttpd] Socket shutdown() and close() syscalls |
Date: |
Fri, 21 Sep 2012 16:46:18 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
Hi,
I'm playing with MHD and I got 2 questions.
Question 1
----------
I noticed that MHD calls shutdown() and then close() after creating each
HTTP response. Is that correct?
If yes, I got another question:
Since HTTP 1.1 allow the browser to issue many requests on the very same
socket, I expect MHD to keep the socket alive.
What am I missing?
Question 2
----------
I can't find in the code and in the documentation the word "Keepalive".
How MHD honors the Keepalive header which is usually present in ht HTTP
request issued by the browser?
Thanks,
Enrico Migliore
- [libmicrohttpd] Socket shutdown() and close() syscalls,
Enrico Migliore - FATTI srl <=