You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you be more precise about the rubbish? Is there no result or partial result? Also what versions does composer show -i give for react/* and which PHP version do you use?
react/cache v0.4.0 Async caching.
react/child-process v0.4.0 Library for executing child processes.
react/dns v0.4.1 Async DNS resolver.
react/event-loop v0.4.1 Event loop abstraction layer that libraries...
react/http v0.4.0 Library for building an evented http server.
react/http-client v0.4.2 Asynchronous HTTP client library.
react/partial v2.0.2 Partial function application.
react/promise v2.2.0 A lightweight implementation of CommonJS Pr...
react/react v0.4.2 Nuclear Reactor written in PHP.
react/socket v0.4.2 Library for building an evented socket server.
react/socket-client v0.4.3 Async connector to open TCP/IP and SSL/TLS ...
react/stream v0.4.2 Basic readable and writable stream interfac...
react/cache v0.4.0 Async caching.
react/dns v0.4.1 Async DNS resolver.
react/event-loop v0.4.1 Event loop abstraction layer that libraries can use for evented I/O.
react/http-client v0.4.1 Asynchronous HTTP client library.
react/promise v2.2.0 A lightweight implementation of CommonJS Promises/A for PHP
react/socket v0.4.2 Library for building an evented socket server.
react/socket-client v0.4.3 Async connector to open TCP/IP and SSL/TLS based connections.
react/stream v0.4.2 Basic readable and writable stream interfaces that support piping.
Running SSLlabs tests on it now to see if anything comes up there.
It isn't SSL you're seeing it's GZIP. You can confirm by making a test script outputting the response body and piping that into gunzip like: php test.php | gunzip -c.
Currently react/http-client doesn't support gzip. However I'm going through all the HTTP 1.0, 1.1, and 2.0 RFC's before drafting up a plan to support all them with all their features. This includes content encoding like GZIP.
Activity
WyriHaximus commentedon May 19, 2015
Can you be more precise about the rubbish? Is there no result or partial result? Also what versions does
composer show -igive for react/* and which PHP version do you use?Termina1 commentedon May 20, 2015
It is seems to be some binary encoded data, represented as a string. Something like this:
PHP version: 5.6.7
Versions installed:
hiend commentedon May 20, 2015
can you show your code please? don't have to keep guessing
Termina1 commentedon May 20, 2015
@hiend it's basically the same as example from readme.
WyriHaximus commentedon May 20, 2015
Confirmed the issue on PHP 5.6.8
Running SSLlabs tests on it now to see if anything comes up there.
cboden commentedon May 20, 2015
I should probably tag reactphp-legacy/socket-client#34
WyriHaximus commentedon May 20, 2015
@cboden already cloned socket-client into my vendor/react dir and the issue persists
WyriHaximus commentedon May 23, 2015
It isn't SSL you're seeing it's GZIP. You can confirm by making a test script outputting the response body and piping that into gunzip like:
php test.php | gunzip -c.Currently react/http-client doesn't support gzip. However I'm going through all the HTTP 1.0, 1.1, and 2.0 RFC's before drafting up a plan to support all them with all their features. This includes content encoding like GZIP.
clue commentedon Sep 3, 2015
Thanks for analyzing this @WyriHaximus! If this only boils down to #37, I suppose we can close this ticket?
WyriHaximus commentedon Sep 3, 2015
AGreed @clue, lets pick this up in #37 and work there on a solution.
WyriHaximus commentedon Nov 17, 2015
FYI #50 is fixing this issue