Hello everyone, I encountered a difficulty while porting the mio library of tokio to old systems such as Windows XP/2003. The function NtCancelIoFileEx (mio/src/sys/windows/afd.rs) used by mio is to cancel Unfinished IO requests, but there is no alternative function on old Windows XP systems (CancelIO or NtCancelIoFile cannot be used because they cancel all of IO)
notice:
you can't edit code change to CancelIO or NtCancelIoFile, which will cause tokio to lose IO requests, such as HTTP requests getting stuck in an infinite loop waiting for the second time
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.