
Manuel Lemos - 2006-12-14 01:19:28 -
In reply to message 1 from Marc Fairbanks
Status code 100 means that the server is elaborating a response but it is not yet ready. So you need to wait for more headers until it returns another status code besides 100.
Calling the function recursively is the easy solution. Thinking about it, if your server returns a long series of 100 status code response, it may crash the PHP script.
I think I can rewrite the function a bit to avoid recursion. I just would like to be able to test this in a real server that returns a long series of 100 codes. Can you provide a short script that accesses a server like that?