php.net |  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
 [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?

Patches

Pull Requests

History

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

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] wez@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

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] sniper@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC