[Socket] Read raw stream when using Socket server (no stream)#240
[Socket] Read raw stream when using Socket server (no stream)#240
Conversation
|
This PR reverts #192. Using One of the reasons the change to @cboden will post more details about the autobahn failure... |
|
Merged. |
|
@cboden you were going to post some details. DO IT! |
|
Using the |
|
@heruan Without more information I'm guessing there was an issue in the SSL handshake negotiation along the way.
|
|
I'm afraid the issue may be related to PHP bug 65137 when using |
|
Same result with |
|
65137 was recently fixed (yay) and would have been a cause for SSL not working - we did verify this in SocketClient. Once PHP 5.6.1 comes out SSL server should be viable. This issue could be caused by 52602. By default we're reading 4096 bytes at a time but the default buffer seems to be 8192. |
Re-implementing #209 after a failed merge resolution by me where I favoured #192 instead. Socket server should be using raw socket data, not stream parsed data by using
fread.