Login
You're viewing the front-end.social public feed.
  • Aug 5, 2026, 7:44 AM

    Anyone using HTTP/2 server push with libcurl?

    If you use this feature in libcurl, please let us know. It is being deprecated all over, including in specs, browsers and servers and I believe the time has come for us to drop it from libcurl in the future as well.

    So I'm curious to know if anyone actually (still) uses it.

    💬 2🔄 57⭐ 14

Replies

  • Aug 5, 2026, 8:33 AM

    @bagder I have it as a fundamental part of a design, that has not been implemented. That design prefers HTTP3 though; do you know if you'd also be removing HTTP3 server push support?

    For HTTP2 there's a big design flaw in it so I'm much less likely to use it.

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 1
  • Aug 5, 2026, 8:54 AM

    @bagder iirc the big problem was that it's nearly always just adding overhead, and in case of HTTP2 doing Head-Of-Line blocking too, making it a net negative in almost all cases. In HTTP3 they fixed the HOL blocking, but it's still only useful if there is something the client wants, cannot know that it should request, and is very urgent / time-dependent to the point of needing a few RTTs saved. Which for regular web servers is extremely close to nothing... and arguably you could always have an active websocket on a channel in http2 or 3 that does exactly what your push would do to accomplish the same.

    💬 0🔄 0⭐ 1
  • 💬 0🔄 0⭐ 1
  • 💬 0🔄 0⭐ 0