On Wed, Jan 14, 2015 at 12:54 PM, Philip Martin
philip.mar...@wandisco.com wrote:
Lieven Govaerts l...@mobsol.be writes:
The easiest way is to use existing tests as a starting point.:
- Test test_serf_connection_request_create sends 2 requests and responses.
This tests sends two pipelined
Lieven Govaerts l...@mobsol.be writes:
You're trying to capture the situation where serf has:
- finished writing a request ( req_bkt == NULL writing_started )
- has no more requests in the pending queue
- and receives actual bytes of data.
Right?
Looks like your patch is a correct way to
On Mon, Jan 12, 2015 at 12:22 PM, Philip Martin
philip.mar...@wandisco.com wrote:
Lieven Govaerts l...@mobsol.be writes:
You're trying to capture the situation where serf has:
- finished writing a request ( req_bkt == NULL writing_started )
- has no more requests in the pending queue
- and
Hi,
On Sat, Jan 10, 2015 at 1:07 PM, Philip Martin
philip.mar...@wandisco.com wrote:
Philip Martin philip.mar...@wandisco.com writes:
Philip Martin philip.mar...@wandisco.com writes:
While debugging a problem reported on users I accidentally sent an extra
byte to the client: I sent
Philip Martin philip.mar...@wandisco.com writes:
$ valgrind -q test/test_all
==11901== Invalid read of size 8
==11901==at 0x403E7CF: serf_config_get_object (config_store.c:278)
==11901==by 0x403F88A: serf__log (logging.c:146)
==11901==by 0x4048E79: serf_log_wrapped_readline
Lieven Govaerts l...@mobsol.be writes:
On Mon, Jan 12, 2015 at 12:22 PM, Philip Martin
I'm not familiar with serf's testsuite. The scenario:
- client sends first request
- server sends response
- server sends extra data, say '\n'
- client handles first request
- client creates
Philip Martin philip.mar...@wandisco.com writes:
Lieven Govaerts l...@mobsol.be writes:
Is there a reason you specifically mention pipelined here? The first
response has been handled so it's just synchronous communication.
The point is that the client reads data from the server before
Philip Martin philip.mar...@wandisco.com writes:
Philip Martin philip.mar...@wandisco.com writes:
While debugging a problem reported on users I accidentally sent an extra
byte to the client: I sent Content-Length of N and then sent N+1 bytes.
The first N bytes made a valid response, so serf
Philip Martin philip.mar...@wandisco.com writes:
While debugging a problem reported on users I accidentally sent an extra
byte to the client: I sent Content-Length of N and then sent N+1 bytes.
The first N bytes made a valid response, so serf was happy at that
stage. When processing the next
9 matches
Mail list logo