mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
MDEV-23348 vio_shutdown does not prevent later ReadFile on named pipe
Introduce st_vio::shutdown_flag to be checked prior to Read/WriteFile and during wait for async.io to finish.
This commit is contained in:
parent
4d41f316c3
commit
ccb9f673b4
3 changed files with 15 additions and 4 deletions
|
|
@ -281,6 +281,7 @@ struct st_vio
|
|||
OVERLAPPED overlapped;
|
||||
DWORD read_timeout_ms;
|
||||
DWORD write_timeout_ms;
|
||||
int shutdown_flag;
|
||||
#endif
|
||||
};
|
||||
#endif /* vio_violite_h_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue