Skip to content

Commit

Permalink
MDEV-9749 InnoDB receives 'Bad file descriptor' error, possibly relat…
Browse files Browse the repository at this point in the history
…ed to feedback plugin

and
MDEV-10250 InnoDB: Error: File (unknown): 'close' returned OS error 209. Cannot continue operation"

after a failed connect() feedback plugin was continuing with the
file descriptor, trying to send the data (which failed) and
closing it at the end. Even though this fd might've been reused for
something else already.
  • Loading branch information
vuvova committed Jun 20, 2016
1 parent 7f38a07 commit 95bf696
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/feedback/url_http.cc
Expand Up @@ -190,6 +190,7 @@ int Url_http::send(const char* data, size_t data_length)
break; break;


closesocket(fd); closesocket(fd);
fd= INVALID_SOCKET;
} }


freeaddrinfo(addrs); freeaddrinfo(addrs);
Expand Down

0 comments on commit 95bf696

Please sign in to comment.