Christopher Faulet

Results 470 comments of Christopher Faulet

@vmspike, thanks for report. Could you at least share the part of your config calling your lua script ? But a common error in TCP is to call it from...

However, I can confirm there is a way to have an empty string. It happens when offset 0 is set and a length is provided. So `txn.req:data(0, 10)` for instance.

> inspect delay is set. `txn:done()` is desired because such request does not pass certain checks. Copy that. That was to be sure because it is a common mistake. However,...

So, I have some answers. About your strange output when you call `txn.sc:be2hex()`, it happens when you call it with `nil` and it seems expected. Only integers, booleans and strings...

About `txn.sc:be2hex()`, I'm pretty sure. I've performed following tests: ```lua core.log(core.info, 'TEST 1 : '..txn.sc:be2hex(true,'')) -- result: "TEST 1 : 0000000000000001 core.log(core.info, 'TEST 2 : '..txn.sc:be2hex(false,'')) -- result: "TEST 2...

You can of course configure several servers and use round robine to load balance the trafic. But, I'm a bit puzzled. In your description, you said your pgbouncer is listening...

It is not clear to me what was the issue here. The title does not match the description. And logs show that everything is working as expected. I don't know...

If it is fixed from HAProxy point of view, it should be closed to sanitize the bug tracker.

Honestly, not on your side. The stats must be reviewed to better match expectations. Some old stats must be replaced by newer ones, more exploitable. For instance, to have a...