io_uring-by-example
io_uring-by-example copied to clipboard
A companion repository for the io_uring by Example article series
The current copy_file() does not wait for all submitted I/O's to complete before returning to main() which the latter closes the files and calls io_uring_queue_exit(). Any I/Os which are still...

Reading the comment above the function `copy_file_contents()` it says the following. ``` /* * Once a static file is identified to be served, this function is used to read the...
Nice work! How do u show the remote ip address of the client?
tried install liburing with https://hnakamur.github.io/blog/2020/04/07/tried_io_uring_example/ but got error below can you provide instructions to test? ``` ./webserver_liburing 83123 Async request failed: Invalid argument for event: 0 ```
Hi, it's possible edit the web server to have file access async with io_uring? (open/read/close) Cheers,
Hi, `04_cp_liburing` quits before writing file content in my environment. Since I think `write_left` in `copy_file` should be updated when actually wrote, I moved the line and it works fine...