httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] HTTP Server connection hangs
Date Thu, 05 Mar 2009 12:37:37 GMT
On Thu, Mar 5, 2009 at 7:27 AM, ginsohn <adinkale@gmail.com> wrote:
>
> Hello,
> I am rather unfamiliar with HTTP Server requirements. I am trying to
> implement a simple HTTP 1.1 server that receives a GET request, and
> transfers a 3gp (video) file to the client. All works fine except the fact
> that the client gets the file, but does not close the connection.
> I do not have the length of the content I send out, so I cannot declare it.
>
> Here are the headers I use:
> statusCode: 200
> Server: MyServer...
> Date: <now>
> Content-type: video/3gp
> connection: close
>

Connection: close means the server will close the connection when the
content is transferred, so you're not waiting for the client to do so.


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message