Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache: Problem with sending multiple http posts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
LinuxGuy79
n00b
n00b


Joined: 20 Oct 2005
Posts: 9

PostPosted: Fri Dec 22, 2006 6:55 pm    Post subject: Apache: Problem with sending multiple http posts Reply with quote

I'm having a problem sending multiple posts to an apache webserver

I've written a remote client that sends files to a cgi script (one at a time). I use a multiple form http post to send the file and then I check the response from the webserver. To make it more efficient, I'm trying to use a persistent socket connection to the server for each post. The server and my program both use http1.1 and I've set the keep alive in the apache conf. The first post sends ok and the response indicates success from the server. When I send the second post though it takes the server several minutes to respond. The response indicates success but the delay is terrible. I have checked that the server is using the 1.1 version of the http protocol and that its not sending "Connection: close" in the response header file. If I use multiple sockets then it works fine, but apache is delaying subsequent posts on the same connection. I have used tcpdump and apache does ack the subsequent posts almost instantly so it is receiving the post when its sent and the delay is in apache itself.

Any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum