]> granicus.if.org Git - pdns/commit
Use ssize_t for the result of send() to DS in dnsdist UDP thread
authorRemi Gacogne <rgacogne-github@coredump.fr>
Sun, 13 Dec 2015 20:40:54 +0000 (21:40 +0100)
committerRemi Gacogne <rgacogne-github@coredump.fr>
Sun, 13 Dec 2015 20:40:54 +0000 (21:40 +0100)
commit707e4c7503a344654379be225d7a83bad1fcfd2d
treeac083b72fcb244e04e8f6bbcf9e87f8e9d93ca3c
parente27097e42d801594a834cc01c7a74ea54be6cacd
Use ssize_t for the result of send() to DS in dnsdist UDP thread

Otherwise we cannot detect error sending query to DS.
Remove useless assert() since len has been changed to uint16t_t.
pdns/dnsdist-ecs.cc
pdns/dnsdist.cc