HTTP keep-alive fixed. Network debugging capabilities.

This commit is contained in:
antirez 2013-01-16 20:07:35 +01:00
parent e40e55bfe0
commit 21fc9de47a
3 changed files with 41 additions and 10 deletions

1
anet.h
View file

@ -54,5 +54,6 @@ int anetNonBlock(char *err, int fd);
int anetTcpNoDelay(char *err, int fd);
int anetTcpKeepAlive(char *err, int fd);
int anetPeerToString(int fd, char *ip, int *port);
int anetSetSendBuffer(char *err, int fd, int buffsize);
#endif