|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20219 Socket dies if there's too much incoming data
Submitted: 2002-11-02 10:20 UTC Modified: 2002-11-16 01:13 UTC
From: michael dot schlottke at sloede dot com Assigned:
Status: No Feedback Package: Sockets related
PHP Version: 4.2.1 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-11-02 10:20 UTC] michael dot schlottke at sloede dot com
I'm working on a script to administrate half-life servers.

When I try to dump a rules list, which consists of more then approx. 80 rules ( 1 Rule = 2 strings of about 20 and 3 chars ), the PHP script dies and waits forever.

The same problem when I do a players dump and there are more than 16 players on a server.

The fsockopen() and socket-functions don't seem too reliable, is there any possibility that this will change in the next versions?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-02 10:29 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

Please supply a complete snippet with which we can reproduce the bug.
 [2002-11-02 10:30 UTC]
Please try using this CVS snapshot:
For Windows:

Are your sockets using the sockets extension, or the native fsockopen calls?
We can't really help unless you supply us with a self-contained script that illustrates the problem.
Please try a snapshot (for the up and coming 4.3 release),
and if you still experience problems, post a script that we can use to find out the cause.
 [2002-11-16 01:13 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 09 13:01:27 2023 UTC