[CONC-676] named pipe overlapped IO can send unwanted IO completion notification Created: 2023-11-22  Updated: 2024-01-29  Resolved: 2023-11-22

Status: Closed
Project: MariaDB Connector/C
Component/s: Other
Affects Version/s: 3.1, 3.3
Fix Version/s: 3.3.8

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows



 Description   

In case of named pipe connection, if named pipe handle is bound to IO completion port, connector's overlapped read and write operations would cause completion notification sent on that port.
This is not intended. async IO inside the client is only a trick to support IO timeouts.
In the server's VIO, it is already handled properly, completion notification are prevented In connector, it should be done exactly like that, it is not entirely clear why it was lost when copying the server's logic.



 Comments   
Comment by Vladislav Vaintroub [ 2023-11-22 ]

fixed by https://github.com/mariadb-corporation/mariadb-connector-c/commit/75ab6fb1746824648ce09805acbe535f9501df37

Generated at Thu Feb 08 03:07:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.