GeorgiyX / io-uring-static-server

Static HTTP server written in C++ using io_uring.
1 stars 0 forks source link

io_uring based close() instead standard one #1

Open lukaszml opened 2 years ago

lukaszml commented 2 years ago

Currently client handling methods uses the standard 'close' function to close the connection after sending data. Due to the fact that in HTTP protocol, closing a connection is a common as accepting, it might be a good to implement 'close' using io_uring. https://unixism.net/loti/ref-liburing/submission.html#c.io_uring_prep_close

GeorgiyX commented 2 years ago

Thanks, I'll fix it