Reproduction is pretty simple:

use the example configuration from haproxy/contrib/spoa_server
start up a haproxy version with default nbthread value greater then 1
like this: "haproxy -f spoa-server.conf -d -Ws"
start the example spoa script: "./spoa -f ps_python.py -d"
run some curl requests: "curl localhost:10001/"
the variable sess.iprep.ip_score is only set on the first and n-th request

On 9/22/20 8:10 AM, Илья Шипицин wrote:
> Can try to rebuild haproxy with thread sanitizer?
>
> Or describe repro steps
>
> On Mon, Sep 21, 2020, 9:49 PM Reinhard Vicinus <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hi,
>
>     if I try to connect to a spoa server with haproxy 2.2.3 and nbthread
>     greater then 1, then if n is the nbthread value, only the first and
>     thereafter n-th requests are answered correct and requests in between
>     are not correctly forwarded to the spoa server. Is this a known
>     limitation or is this a bug that will hopefully get fixed in the
>     future?
>     Or am I missing something?
>
>     Kind regards
>     Reinhard Vicinus
>


-- 
Reinhard Vicinus
Metaways Infosystems GmbH
Pickhuben 2, D-20457 Hamburg

E-Mail: [email protected]
Web:    http://www.metaways.de
Tel:    +49 (0)40 317031-524
Fax:    +49 (0)40 317031-10

Metaways Infosystems GmbH - Sitz: D-22967 Tremsbüttel
Handelsregister: Amtsgericht Lübeck HRB 4508 AH
Geschäftsführung: Hermann Thaele, Lüder-H. Thaele

Reply via email to