fix graceful restart and add unit test

This commit is contained in:
clowwindy
2015-08-02 14:37:44 +08:00
parent e8b2946999
commit 111acf66c1
8 changed files with 121 additions and 9 deletions

10
tests/graceful.json Normal file
View File

@ -0,0 +1,10 @@
{
"server":"127.0.0.1",
"server_port":8387,
"local_port":1081,
"password":"aes_password",
"timeout":15,
"method":"aes-256-cfb",
"local_address":"127.0.0.1",
"fast_open":false
}