|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: michael dot schlottke at sloede dot com
New email:
PHP Version: OS:


 [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: Wed Dec 06 15:01:27 2023 UTC