PHP Classes

The server disconnected

Recommend this page to a friend!

      PHP HTTP protocol client  >  All threads  >  The server disconnected  >  (Un) Subscribe thread alerts  
Subject:The server disconnected
Summary:The remote server disconnects if the POST too big.
Messages:3
Author:Tamagocsi
Date:2009-07-24 07:31:08
Update:2009-07-25 06:51:39
 

  1. The server disconnected   Reply   Report abuse  
Picture of Tamagocsi Tamagocsi - 2009-07-24 07:31:08
Hi,

First of all thank you for this great solution!
I was using this class for over a year now with success, but in the last days something changed. Every time my POST exceeds a certain amount of data the remote server disconnects (even a little data is too much, for example 1135 content-length is fine, while 1248 fails). The remote site works all right using it directly. What can be the problem?

  2. Re: The server disconnected   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-07-24 08:09:22 - In reply to message 1 from Tamagocsi
It is hard to tell. Can you use a regular browser form to perform the same type of request? If it also does not work, maybe something changed in the server.

  3. Re: The server disconnected   Reply   Report abuse  
Picture of Tamagocsi Tamagocsi - 2009-07-25 06:51:39 - In reply to message 2 from Manuel Lemos
Yes, from a browser everything is fine. I can send a few values through the class, which is received by the server (the values show up in the form), but if I exceed a certain amount data the server disconnects.