php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11112 socket_set_blocking breaks in w32, you can send data but cannot read response
Submitted: 2001-05-25 09:43 UTC Modified: 2002-06-03 12:42 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (33.3%)
From: trebz at barrysworld dot com Assigned:
Status: Not a bug Package: HTTP related
PHP Version: 4.0.5 OS: Windows 2000
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: trebz at barrysworld dot com
New email:
PHP Version: OS:

 

 [2001-05-25 09:43 UTC] trebz at barrysworld dot com
socket_set_blocking($fp,0); 
						
fputs($fp, $http, strlen($http)); // sends http form headers, works fine

while ($d = fgets($fp, 128))
$response .= $d; // page should return some xml but does not.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-03 12:42 UTC] edink@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC