handle sigterm and sigkill
refine the log
handle sigterm and sigkill
refine the log
Merge branch 'v1.5.2' of github.com:madeye/shadowsocks-libev into v1.5.2
bump version
replace sys/queue with cork_dllist
refine server end
build static library by default
fix build on win32
Merge pull request #147 from madeye/v1.5.2

V1.5.2
Merge pull request #148 from librehat/v1.5.2

Enable shared library on Debian
fflush stderr on Windows.

unfortunately, Windows will buffer stderr if it's not executed in `cmd.exe`,
which will cause unpleasant buffered log output. adding fflush(stderr) will
solve this aged issue.