commit | ba558e7faf37f2fc266b70c5cbd90f4af8b34c08 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davide.pesavento@lip6.fr> | Mon Feb 17 18:38:19 2014 +0100 |
committer | Alex Afanasyev <afanasev@cs.ucla.edu> | Mon Feb 17 14:31:55 2014 -0800 |
tree | 15b75e35b667739a8d97f3bf02815d3c02299cf7 | |
parent | bc4dd8c812c6cd601c1aba65be378f77ddc6a7c0 [diff] |
stream-face: invoke shutdown() before closing the socket. As recommended by boost::asio documentation. Also refactor the shutdown logic into its own method. Change-Id: I033de350a9cb659439034f7b5bb36031cda87a25