The incorrect content length problem with Apache, how to stop waiting for data, and se
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Windows > The incorrect content length problem with Apache, how to stop waiting for data, and se




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    The incorrect content length problem with Apache, how to stop waiting for data, and se  
samkipers445r@yahoo.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 01:53 AM

Hello

Maybe someone who knows apache internals can help on this issue.

We created an http client application, and a server CGI script on C++
to exchange data between the application which is spread among many
users and our server. Unfortunately the client application had a bug
with https POST method when it sent less data than specified in content
length header. It happens on a certain combination of input data
entered by end user. As the result the Apache server waits for the
missing data because of incorrect content length sent by the client,
and we never have a chance to send a reply back to the client
application. The client application simply closes the connection after
one minute timeout period.

Is there any way to force Apache to cancel the wait on receiving
missing data in Post method and switch it to sending data to reply back
to the client application from CGI script?

We tried writing to stdout and/or closing stdin, but it doesn't help,
it seems that Apache keeps on hanging, and doesn't want to send
anything while waiting for the missing data because of incorrent
content length.

Thanks,
Sam Kipers






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:55 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register