projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't close socket directly after sending the QUIT to the server
[NeonServV5.git]
/
src
/
ClientSocket.h
diff --git
a/src/ClientSocket.h
b/src/ClientSocket.h
index 9bcdaffccd3aa2b0c1117e5fd4b1df588682ecc0..bafc003390b79238793c52b088dc7b30a5fd2bca 100644
(file)
--- a/
src/ClientSocket.h
+++ b/
src/ClientSocket.h
@@
-27,6
+27,8
@@
#define SOCKET_FLAG_RECONNECT 0x20
#define SOCKET_FLAG_SSL 0x40
#define SOCKET_FLAG_HAVE_SSL 0x80
#define SOCKET_FLAG_RECONNECT 0x20
#define SOCKET_FLAG_SSL 0x40
#define SOCKET_FLAG_HAVE_SSL 0x80
+#define SOCKET_FLAG_QUITTED 0x100
+#define SOCKET_FLAG_FAST_JUMP 0x200
#define BUF_SIZ 512
#define BUF_SIZ 512
@@
-36,7
+38,7
@@
struct SSLConnection;
struct ClientSocket {
int sock;
struct ClientSocket {
int sock;
- unsigned
char
flags;
+ unsigned
int
flags;
char buffer[BUF_SIZ*2]; //we need to store up to 2 full commands at once
unsigned int bufferpos;
char *host;
char buffer[BUF_SIZ*2]; //we need to store up to 2 full commands at once
unsigned int bufferpos;
char *host;