Anonymous | Login | Signup for a new account | 12-17-2024 10:29 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002060 | [Quercus] | minor | always | 10-10-07 17:53 | 10-17-07 13:26 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | mo | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.3 | ||||||
Summary | 0002060: fseek() not supported on a socket stream | ||||||||
Description |
PHP's fseek() is supposed to be able to discard data on a socket. Test case part 1, run on command line to set up a listen socket that will spew out some data when you connect to it: $ echo "1234567890" | nc -l -p 8000 Test case part 2: <?php $sock = fsockopen("127.0.0.1", "8000"); fseek($sock, 5, SEEK_CUR); print fgets($sock); Vanilla PHP prints "67890". Quercus throws an exception: java.lang.UnsupportedOperationException: com.caucho.vfs.SocketStream |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed. 28 unique queries executed. |