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

    From Ar Rakin@3:633/280.2 to All on Thu Jul 31 02: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

    --- MBSE BBS v1.1.2 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)