-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40a5fa9
commit eda1403
Showing
16 changed files
with
108 additions
and
1,799 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
CC = @CC@ | ||
VERSION = 4.43 | ||
VERSION = 4.44 | ||
CFLAGS = @CFLAGS@ @SIMD_CFLAGS@ | ||
LDFLAGS=@LDFLAGS@ | ||
LIBS = @LIBS@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,8 @@ Copyright (c) 2015 Colum Paget <[email protected]> | |
#define SOCK_PEERCREDS 512 //used with UNIX sockets to get remote user ID | ||
#define CONNECT_ERROR 1024 //report errors even if Error:IgnoreIP is set | ||
#define SOCK_TLS_AUTO 2048 | ||
#define SOCK_TCP_NODELAY 4096 | ||
#define SOCK_TCP_FASTOPEN 8192 | ||
|
||
#define SOCK_CONNECTED 1 | ||
#define SOCK_CONNECTING -1 | ||
|
@@ -111,12 +113,14 @@ int IPServerAccept(int ServerSock,char **Addr); | |
|
||
//STREAMServerInit and STREAMServerNew create server sockets for tcp:// udp:// unix:// unixdgram:// and tproxy:// protocols | ||
//STREAMServerNew takes a Config argument that is a string containing characters as follows: | ||
// k - disable tcp keepalives | ||
// A - Autodetect SSL | ||
// B - BROADCAST set udp socket to be a broadcast socket | ||
// F - Tcp FASTOPEN | ||
// N - Tcp NODELAY - disable Nagel's algorithm and send data straight away | ||
// R - Don't route. All addresses are treated as local | ||
// P - REUSE_PORT allows multiple processes to listen on the same port | ||
|
||
|
||
STREAM *STREAMServerInit(const char *URL); | ||
STREAM *STREAMServerNew(const char *URL, const char *Config); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.