mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-25 01:06:20 +03:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f462ba166 | ||
|
|
0e7885bc9f |
No files matched your search
@@ -1,4 +1,4 @@
|
||||
v2.2.0:
|
||||
v2.2.1:
|
||||
Added a boolean setting "is_unix" for listen and
|
||||
protocol entries. This will use the 'host' setting
|
||||
as a path name to a socket file, and connections
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PROXYPROTOCOL
|
||||
|
||||
#include <proxy_protocol.h>
|
||||
#include "common.h"
|
||||
#include "log.h"
|
||||
@@ -112,3 +114,5 @@ int pp_write_header(int pp_version, struct connection* cnx)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* HAVE_PROXYPROTOCOL */
|
||||
+1
-1
@@ -8,7 +8,7 @@ int pp_write_header(int pp_version, struct connection* cnx);
|
||||
|
||||
#else /* HAVE_PROXYPROTOCOL */
|
||||
|
||||
static inline int pp_write_header(int pp_version, struct connection* cnx) {}
|
||||
static inline int pp_write_header(int pp_version, struct connection* cnx) { return 0; }
|
||||
|
||||
#endif /* HAVE_PROXYPROTOCOL */
|
||||
|
||||
|
||||
Reference in new issue
Block a user