Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

All possible socket commands errors

$
0
0

Hi,
I often use the socket commands from scripts.

Obviously, if “socat” has managed to transmit the command, its return code is 0.
If we want to check if the command was successful or failed, we have to look at the returned content.

I was trying to find all the possible outputs (and errors) in the documentation, but I failed.

For example, the “set server” command seems to return nothing on success, and a string on error (like “No such server”). Having the list of possible errors might help managing error in a more detailed way.

Thanks.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>