Skip to content

Commit 95bf696

Browse files
committed
MDEV-9749 InnoDB receives 'Bad file descriptor' error, possibly related 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.
1 parent 7f38a07 commit 95bf696

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin/feedback/url_http.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ int Url_http::send(const char* data, size_t data_length)
190190
break;
191191

192192
closesocket(fd);
193+
fd= INVALID_SOCKET;
193194
}
194195

195196
freeaddrinfo(addrs);

0 commit comments

Comments
 (0)