From 4a3ce949e62d1f582d99aa8669350fe1da709b3b Mon Sep 17 00:00:00 2001 From: Konstantin Shulgin <konstantin.shulgin@gmail.com> Date: Mon, 23 Jan 2012 21:45:29 +0400 Subject: [PATCH] php-diver: Flushing stream after write request was added. --- connector/php/tarantool.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/connector/php/tarantool.c b/connector/php/tarantool.c index fe3c13d652..6fd10b9af3 100644 --- a/connector/php/tarantool.c +++ b/connector/php/tarantool.c @@ -1876,6 +1876,9 @@ io_buf_send_yaml(php_stream *stream, struct io_buf *buf) return false; } + /* flush request */ + php_stream_flush(stream); + return true; } @@ -1919,6 +1922,9 @@ io_buf_send_iproto(php_stream *stream, int32_t type, int32_t request_id, struct return false; } + /* flush request */ + php_stream_flush(stream); + return true; } -- GitLab