Jelte Jansen
|
a3888f316e
merge branches/trac58
|
15 years ago |
Likun Zhang
|
f9c48018e6
1. Send 'shutdown' command to Xfrin and Xfrout when boss receive SIGINT.(Reported in ticket 135)
|
15 years ago |
JINMEI Tatuya
|
d71c306ac3
fixed build problem without boost::sys and boost::python.
|
15 years ago |
Jelte Jansen
|
1b47012f42
one ifdef hadn't been renamed
|
15 years ago |
Likun Zhang
|
3771057f6f
Commit code for module xfrout, AXFR-out works now. Notes:
|
15 years ago |
JINMEI Tatuya
|
6dd3cc5d3b
allow the python binding of libdns to be built using automake.
|
15 years ago |
Jelte Jansen
|
3489841c4b
srv is unused in this version of run_server()
|
15 years ago |
Shane Kerr
|
9d171c0b03
At Jinmei's suggestion, also handle errors in recv() and send().
|
15 years ago |
Shane Kerr
|
0badd8fdac
Partial fix: prevents infinite loop if client closes connection.
|
15 years ago |
Evan Hunt
|
ceb8ef9564
Make b10-auth use a default database path from auth.spec rather than
|
15 years ago |
JINMEI Tatuya
|
b6f569385a
use REUSEADDR option for TCPServer
|
15 years ago |
JINMEI Tatuya
|
cda0f9afb8
make sure TCPServer() listens before accepting.
|
15 years ago |
JINMEI Tatuya
|
7153686d1c
fixed a bug that TCPServer() failed to accept connections except the first one.
|
15 years ago |
Jelte Jansen
|
924829fb3c
fixed a problem with asio port binding, if you specify v6() without further options, it binds to both IPv4 and IPv6 (at least in my version), so we need to specify a v6-only option for the UDPServer and TCPServer that listen on v6
|
15 years ago |
JINMEI Tatuya
|
8e4cabcb06
corrected the behavior of -6 (trac ticket #98)
|
15 years ago |
JINMEI Tatuya
|
70b9a5ca81
handle more error cases with native socket APIs
|
15 years ago |
JINMEI Tatuya
|
0be6dcc6a7
had the AuthSrv maintain verbosity
|
15 years ago |
JINMEI Tatuya
|
06f1826d49
cleanup:
|
15 years ago |
Jelte Jansen
|
c68d74d8c2
doxygen for createAnswer and family of helper functions
|
15 years ago |
JINMEI Tatuya
|
1670cdbbe8
added a test for a short message
|
15 years ago |
Jelte Jansen
|
e7361328f9
renamed some functions that weren't following style guide
|
15 years ago |
JINMEI Tatuya
|
38db5558d9
clarified that errors are intentionally ignored in UDPServer::sendCompleted()
|
15 years ago |
JINMEI Tatuya
|
06792038b0
simplified cod logic for TCPServer::listening :
|
15 years ago |
JINMEI Tatuya
|
47a44f7467
indentation fix
|
15 years ago |
JINMEI Tatuya
|
e50967f425
missing cleanup on error in the ASIO TCPClient class
|
15 years ago |
Jelte Jansen
|
6341a7085f
oops, forgot ifdef BOOST_LIB for that io_service
|
15 years ago |
Jelte Jansen
|
e8e86b7462
moved io_service to global scope so the command handler for "shutdown" can call io_service.stop()
|
15 years ago |
JINMEI Tatuya
|
3d8ae5122f
cleanup: style consistency (per guideline)
|
15 years ago |
JINMEI Tatuya
|
ceb44cf5bb
added the verbose argument to AuthSrv::processMessage()
|
15 years ago |
Jeremy C. Reed
|
5f2aaf0fc8
My revision r1131 was lost.
|
15 years ago |