|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 2060 | minor | always | 10-10-07 17:53 | 10-17-07 13:26 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | mo | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.1.3 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.1.4 | ||
|
|
|||||
| 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 |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||