Hi Christopher. Am 05.07.2019 um 16:29 schrieb Christopher Faulet: > Le 03/07/2019 à 16:16, Aleksandar Lazic a écrit : >> I know this is a old haproxy version but I have not the option to update as >> it's >> part of a vendor product. >> >> I need to bring the `[haproxy-2.0.git]/ contrib/spoa_server/` up and runnig >> or >> `[haproxy-1.8.git]/contrib/spoa_example/` from 1.8.4 to be able to run a >> python >> script. >> >> Any help is welcome and I can offer some money for the help. It's urgent so I >> will need the help asap. >> >> You can contact me also off the list. > > > Hi Aleks, > > The spoa_example cannot run python script. But I take a look to the > spoa_server > and it seems to usable with HAProxy 1.8 with a small patch. You must downgrade > the SPOE version and change the encoding of the frame's flags. The example > configuration must also be adapted because there is no debug converter in > HAProxy 1.8. > > But, as you said, HAProxy 1.8.4 is old, and many fixes was pushed on the SPOE > since then. So you would experience some bugs. Be careful. > > And I noticed a bug with the spoe_server, It seems to accept and process only > one connection per worker because of a while loop to read frames. I'm cc'ing > Thierry. > > I attached a quick-and-dirty patch to downgrade SPOP version of the > spoa_server > to 1.0.
Thank you very much. Best regards Aleks