Can haproxy be used to rate limit clients by either ipaddress or hostname(domain name)?
If yes, will it rate limit by simply streaming in the request header? The reason I am asking, say the client's request contains 100K of http post data. Currently for me to rate limit at the application level, I have to read in the entire 100K + request header. If it can be done earlier in the request cycle, that better. So I want to understand if it simply reads in the request header, will it send some tcp type message saying the request was denied thus saving me BOTH bandwitch and server load?

