Comments (3)
Not sure what's going on here, the examples work just fine here, but then again I currently don't run a Windows system to test this on.
Can you try running this on another system and/or run any of the other examples and/or show PHP modules and installed packages (php -m
and composer -i
)?
I hope this helps 馃憤
from http.
Running from PHP Docker image does the same.
位 docker run -it --rm --name my-running-script-2 -v /c/Users/Leo/Sandbox/react-http:/usr/src/myapp -w /usr/src/myapp -p 8001:8001 php php index.php 0.0.0.0:8001
Listening on http://0.0.0.0:8001
Then http://192.168.99.100:8001 hangs forever.
Just did a full setup from Docker's ubuntu image without binding volumes or ports, the same happens.
Env
位 php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
filter
hash
iconv
json
libxml
mbstring
mcrypt
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
SimpleXML
soap
sockets
SPL
standard
tokenizer
wddx
xdebug
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
Xdebug
Already tried without Xdebug
位 composer show
evenement/evenement v2.0.0 脡v茅nement is a very simple event dispatching library for PHP
psr/http-message 1.0.1 Common interface for HTTP messages
react/event-loop v0.4.2 Event loop abstraction layer that libraries can use for evented I/O.
react/http v0.6.0 Event-driven, streaming plaintext HTTP and secure HTTPS server for ReactPHP
react/promise v2.5.1 A lightweight implementation of CommonJS Promises/A for PHP
react/socket v0.5.1 Async, streaming plaintext TCP/IP and secure TLS socket server for React PHP
react/stream v0.6.0 Event-driven readable and writable streams for non-blocking I/O in ReactPHP
ringcentral/psr7 1.2.1 PSR-7 message implementation
Maybe a missing module?
from http.
Oooh!
I was running master's example on 0.6.0 馃う
My bad, sorry.
from http.
Related Issues (20)
- Possible memory leak when using Queue HOT 6
- HTTP client: Expose maximum time to keep alive idle connection with persistent connections HOT 5
- Cannot create socket server HOT 3
- HTTP client on specific network shows poor performance HOT 5
- HTTP client: Simplify HTTP file uploads and submitting forms HOT 2
- EmptyBodyStream as request body not working HOT 3
- Regression: object with __toString no longer being accepted as request body in Browser post HOT 1
- getFragment() returns empty string, username:password@hostname not supported HOT 1
- Unable to properly cancel request (Browser) HOT 8
- URI Behind Reverse Proxy Incorrect Scheme HOT 5
- Laravel + websockets: Unhandled promise rejection with TypeError HOT 1
- MAX_CHUNK_HEADER_SIZE size increase HOT 4
- Random HTTP Requests don't resolve HOT 2
- Body Stream Closes when running Browser Request HOT 3
- The psr/http-message v2 is not supported HOT 1
- Add support for psr/http-message v2
- Memory leak when using persistent connections HOT 3
- Roadmap to reactphp/http v3
- ServerInstance socket not closing on unexpected program termination or loop stop HOT 4
- Can't find ringcentral/psr7 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google 鉂わ笍 Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http.