Dmitry
Dmitry
Hi, guys! This is really blocking an ability to stream data to the client. I suggest to implement something like writeFrame method. Look at AMPHP - https://github.com/amphp/http-server/blob/master/src/Driver/Http2Driver.php#L503 (writeBufferedData). And also...
@doubaokun first at all - thanks for the new release! We need full control on HTTP/2 flow to implement GRPC server functionality, there should be a way to read streamed...
@haohetao hello! Maintaining of C code is not easy, so I develop the Postgres client at the PHP level as much as possible. Give it a try - https://github.com/makise-co/postgres ,...
@adelf can i suggest to add some annotation to specify namespace in routes file? E.g. ```php /** @laravel-idea-route-namespace \App\Http\Controllers\Api */ ```
@lcobucci there is two cases: 1. I'm experiencing low performance because TextResponse doing excess allocation of PHP native stream (allocation time + string copying time) 2. With large text length...
@Ocramius I guess this patch will not affect end users, because php native stream is only allocated when string was passed to the constructor - this means that the memory...
@Ocramius I think there is one more approach (in two different ways): 1. Create a “fake” stream object that is just simulating stream behavior (under the hood its just a...
@Ocramius actually its only one approach which can be implemented in two manners
@Ocramius yes it is. The performance problem occurs when the Response object allocates stream for `string` (I mean PHP stream), but actually there is no need to allocate memory one...
@sergiotabanelli hi! I think you shouldn't use Coroutine objects in this manner. Coroutine::run - creates one global app event loop, application may have only one event loop at once. You...