Thanks for the tip!

Mara

On Sat, Dec 8, 2018, 00:00 Baptiste <bed...@gmail.com wrote:

> Hi,
>
> You can also forge a http post with the tcp-check. This would be less
> hacky.
>
> Baptiste
>
>
> Le jeu. 6 déc. 2018 à 09:11, Māra Grīnberga <m...@suriki.lv> a écrit :
>
>> I mean, thanks! I'll look into it!
>>
>> Mara
>>
>> On Thu, Dec 6, 2018, 10:04 Jarno Huuskonen <jarno.huusko...@uef.fi wrote:
>>
>>> Hi,
>>>
>>> On Thu, Dec 06, Māra Grīnberga wrote:
>>> > I'm new to Haproxy and I've a task for which I can't seem to find a
>>> > solution online. Probably, I'm not looking in the right places.
>>> > I need to check if a SOAP service responds before sending requests to
>>> the
>>> > server. I've read about this option:
>>> >        option httpchk GET /check
>>> >         http-check expect string OK
>>> > I think, it's what I need. But is there a way to pass SOAP envelope to
>>> this
>>> > "/check" service?
>>>
>>> Do you mean POST to /check where post body is the SOAP envelope ?
>>>
>>> > Any suggestions and help would be appreciated!
>>>
>>> I think you can (ab)use http version to send body with option httpchk
>>> (
>>> https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#option%20httpchk
>>> )
>>>
>>> One example for sending xml post:
>>> https://discourse.haproxy.org/t/healthcheck-with-xml-post-in-body/733
>>>
>>> -Jarno
>>>
>>> --
>>> Jarno Huuskonen
>>>
>>

Reply via email to