dquangsinh / php-amqplib

Automatically exported from code.google.com/p/php-amqplib
GNU Lesser General Public License v2.1
0 stars 0 forks source link

[double fclose] fclose(): 121 is not a valid stream resource in [/full/path/to/amqplib/amqp.inc] on line 467 #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Publish a message into queue
2.
3.

What is the expected output? What do you see instead?
Expected nothing bad, but an error occurs.

What version of the product are you using? On what operating system?
trunk: Commit:284a578dbd332debc905994e97f45027fd4ab5f0

Please provide any additional information below.
This problem occurs after $this->input->close(); (which is BufferedInput with 
same socket) and then fclose($this->sock);

Here is a patch too

Original issue reported on code.google.com by bixor...@gmail.com on 30 May 2011 at 7:56

Attachments: