akka/akka-http

Support HAPROXY proxy protocol on the server side

開放

#89 建立於 2016年9月8日

 (14 則留言) (14 個反應) (0 位負責人)Scala (598 個分叉)batch import
1 - triagedhelp wantednice-to-have (low-prio)t:server

倉庫指標

星標
 (1,311 顆星)
PR 合併指標
 (平均合併 1天 10小時) (30 天內合併 2 個 PR)

描述

HAProxy defines a TCP-based "proxy protocol" that wraps / prefixes reverse-proxy traffic with metadata from the original client.

See http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt.

Issue by prettynatty Wednesday Jan 20, 2016 at 14:15 GMT Originally opened as https://github.com/akka/akka/issues/19541


Akka HTTP lacks proxy protocol support. There already was a demand in spray/spray#846. It's impossible to implement anti-flood scenarios in case of plain tcp connections when there is no way to determine real client ip via HTTP headers passed from reverse proxy.

貢獻者指南