mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/triAGENS/AvocadoDB into devel
This commit is contained in:
commit
f4846248a7
|
@ -398,10 +398,10 @@ namespace triagens {
|
|||
// -----------------------------------------------------------------------------
|
||||
|
||||
bool SimpleHttpClient::close () {
|
||||
if (_isConnected) {
|
||||
if (_socket != -1) {
|
||||
::close(_socket);
|
||||
_isConnected = false;
|
||||
}
|
||||
_isConnected = false;
|
||||
|
||||
reset();
|
||||
|
||||
|
|
Loading…
Reference in New Issue