Comments (5)
rsp, err := p.Exec(&rr.Payload{Body: []byte("hello"), Context: []byte("header")})
from roadrunner.
while ($body = $rr->receive($context)) {
$context here is a reference, so you can use it inside the loop
from roadrunner.
from roadrunner.
Are you sure?
Take a look at this test:
https://github.com/spiral/roadrunner/blob/master/static_pool_test.go#L101
https://github.com/spiral/roadrunner/blob/master/tests/head.php#L13
Context is being filled into $ctx variable here.
from roadrunner.
You are right, I did use the variable to late, and had overwrite it already.
Sorry for the false alarm.
from roadrunner.
Related Issues (20)
- [π BUG]: High memory consumption with no load HOT 6
- [π BUG]: Failed to call goridge in the swoole coroutine HOT 11
- [π BUG]: Roadrunner does not create queues for amqp pipelines HOT 3
- [π BUG]: Cannot spawn worker while running in Google Cloud Run HOT 9
- [π§Ή CHORE]: RoadRunner v2025 thoughts HOT 1
- [π‘ FEATURE REQUEST]: add support for multiple broker connections HOT 1
- [π BUG]: Wrong query parse for application/x-www-form-urlencoded request HOT 2
- [π‘ FEATURE REQUEST]: Chinese translation HOT 3
- [π BUG]: RoadRunner not respecting `num_workers` configuration on `http` HOT 4
- [π BUG]: BoltDB driver is broken after RR stops HOT 3
- [π‘ FEATURE REQUEST]: Hold connections exceeding the pool size HOT 3
- [π BUG]: on_init command with defined user fails HOT 3
- [π‘ FEATURE REQUEST]: Static HTTP middleware, immutable option. HOT 7
- [π BUG]: grpc client is closed to early after graceful shutdown HOT 2
- [π‘ FEATURE REQUEST]: (velox) Add support for replace derective of other modules HOT 10
- [π‘ FEATURE REQUEST]: Allow defaults in env var expansion of server.env config HOT 2
- [π‘ FEATURE REQUEST]: Driver for Amqp 1.0 or stomp HOT 1
- [π BUG]: Logs from workers are not written to STDERR HOT 4
- [π BUG]: execTTL timeout elapsed HOT 3
- [π§Ή CHORE]: Inconsistency with service logs output HOT 3
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 roadrunner.