dejanb/stomp-php — pull request #3 by m0ppers (2012-03-26 10:20:16+00:00)
Title: unbuffered fread...

fread will block otherwise

I am not sure if this is the best fix but one of my messages is longer than 1k and i noticed fread somehow hangs after the first chunk. I am not really into network socket stuff but this seems to fix it