• Using linked lists of buffers for HTTP/2 I/O

    From Ar Rakin@21:1/5 to All on Wed Jul 30 22:28:51 2025
    Hello there!

    I've been working on my new HTTP server project - freehttpd. I have implemented the basics of HTTP/1.x protocol family. Now, I want to
    implement HTTP/2. I used a similar idea that is commonly seen in
    servers like Apache or Nginx, they use a linked list of variable-sized
    buffers to store incoming/outgoing data and write them as needed. I implemented the same thing. However, since HTTP/2 is a binary protocol,
    I was wondering whether should I do something else - is there a better
    way to do I/O than using linked list of buffers, for HTTP/2?

    Would be glad to see your suggestions and ideas.

    --
    Rakin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)