GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — HTTP/2 support · Issue #8 · CrowCpp/Crow

HTTP/2 support #8

New issue
Copy link
New issue
Copy link
Open
Feature
Open
HTTP/2 support#8
Feature
Copy link

Description

@The-EDev
The-EDev
opened on Oct 8, 2020
Issue body actions

in response to ipkn/crow#47, ipkn/crow#219, ipkn/crow#292.

I'm not sure how to go about this, a good place to start implementing would be the comments of the issues themselves, and maybe we could also take a look at this to further understand how to implement the standard fully.

Reacted by Ioannis Markos Angelidakis

Activity

  1. mrozigor
    added
    featureCode based project improvement
    on Oct 8, 2020
  2. The-EDev
    added this to the 0.3 milestone on Oct 25, 2020
  3. The-EDev commented on Nov 1, 2020

    @The-EDev
    The-EDev
    on Nov 1, 2020
    MemberAuthor
    More actions

    This is starting to seem like a rabbit hole with no end.

    Ignoring the 49% adoption of HTTP/2 after 5 years of its release (not even announcement), and the controversy surrounding it and SPDY (with things like server push, and slowing load-balancers due to HPACK).

    The http_parser we currently have does not support HTTP/2, and neither does the NGINX parser we proposed switching to, instead NGINX have a separate module to handle everything HTTP/2, which could be useful. But the point that it's a large pain, with lots of code to rewrite, for a seemingly slightly faster protocol that still relies on HTTP/1.1 to establish a connection.

    Don't get me wrong, I do think HTTP/2 has a place, things like server push (while making me think about what servers can send without clients asking) have their place, and I would be working on HTTP/2 support 100% If we had 5 or 6 part time people supporting all the other features and bugs. But as it stands, I'm just not sure HTTP/2 is so important it's worth spending one or more months getting initial support working and then even more time maintaining 2 protocols instead of 1.

    This is an email to the IETF that partially shaped my answer, the rest of the answer was shaped by the spec itself (mainly how much needs to be rewritten or changed to accommodate this new protocol that isn't very new or all that much faster than 1.1).

    Reacted by Ioannis Markos Angelidakis
  4. The-EDev
    removed this from the 0.3 milestone on Nov 12, 2020
  5. NobodyXu commented on Dec 28, 2020

    @NobodyXu
    NobodyXu
    on Dec 28, 2020
    More actions

    @The-EDev I personally don't think HTTP/2 is important to crow due to reasons I mentioned in #88 .

    I would say it is much simpler and more benefitial to implement fastCGI instead

  6. NobodyXu commented on Dec 28, 2020

    @NobodyXu
    NobodyXu
    on Dec 28, 2020
    More actions

    Besides, IETF is soon going to publish their HTTP/3 (QUIC) which many might want to migrate to as it improve performance of web under 4G and allows google to have more control over the stack since QUIC is based on UDP.

  7. NobodyXu commented on Dec 28, 2020

    @NobodyXu
    NobodyXu
    on Dec 28, 2020
    More actions

    http/1.1 is enough for simple application writen in crow and for programmers to debug their own code writen in crow.

    Reacted by patlecat, Ioannis Markos Angelidakis, Sightem and Vinícius Ferrão
  8. NobodyXu commented on Dec 28, 2020

    @NobodyXu
    NobodyXu
    on Dec 28, 2020
    More actions

    If user really wants to integrate their reverse proxy server and content server, we can make crow qualified to become a nginx plugin.

    In this way, we 'get' http/2.0 (and possibly http/3.0) support for free.

  9. The-EDev commented on Apr 13, 2021

    @The-EDev
    The-EDev
    on Apr 13, 2021
    MemberAuthor
    More actions

    Some new information I found out that makes HTTP/2 easier to set up (and even less useful):

    HTTP/2 does not actually modify the structure of an HTTP message in any meaningful way, it only modifies the way a TCP connection is handled (multiplexing + server pushing) and adds a layer on top for sending data (using frames instead of just sending data directly through the TCP connection).

    This means that the same HTTP parser can be used. but the res_push would need to be finalized and the http_connection object would need to be modified to accommodate the way HTTP/2 works

    Reacted by patlecat and Ioannis Markos Angelidakis
  10. patlecat commented on May 22, 2023

    @patlecat
    patlecat
    on May 22, 2023
    More actions

    Any updates on this or even HTTP/3 development?

  11. The-EDev commented on May 22, 2023

    @The-EDev
    The-EDev
    on May 22, 2023
    MemberAuthor
    More actions

    unfortunately not, several other features take precedence over HTTP/2, things like asynchronous request handlers

  12. patlecat commented on May 26, 2023

    @patlecat
    patlecat
    on May 26, 2023
    More actions

    @The-EDev It's just that in 2023 I can't justify to use a non-HTTPS/2 or /3 solution anymore.

  13. The-EDev commented on Jun 1, 2023

    @The-EDev
    The-EDev
    on Jun 1, 2023
    MemberAuthor
    More actions

    Well one way to get HTTP/2 support would be to connect Crow to Apache or Nginx as a reverse proxy, although since Crow's logic doesn't allow for things like duplexing the benefits would still be somewhat limited.

  14. patlecat commented on Jun 1, 2023

    @patlecat
    patlecat
    on Jun 1, 2023
    More actions

    @The-EDev Yes I have an idea how to get HTTP/2 without Crow ;) but seriously adopting HTTP/3 would be a smart move now methinks. It's coming.

  15. The-EDev commented on Jun 1, 2023

    @The-EDev
    The-EDev
    on Jun 1, 2023
    MemberAuthor
    More actions

    I'll gladly help out with all my knowledge about Crow if anyone's willing to take on the work required to adopt HTTP/2 or 3, either through a separate library or as an addition to Crow, but with my current time it's very difficult to justify such a massive change that the majority of people don't actually notice.

    Reacted by patlecat
  16. NobodyXu commented on Jun 1, 2023

    @NobodyXu
    NobodyXu
    on Jun 1, 2023 · Hidden as off-topic
    show commentMore actions
  17. patlecat commented on Jun 12, 2023

    @patlecat
    patlecat
    on Jun 12, 2023 · Hidden as off-topic
    show commentMore actions
  18. NobodyXu commented on Jun 12, 2023

    @NobodyXu
    NobodyXu
    on Jun 12, 2023 · Hidden as off-topic
    show commentMore actions
  19. patlecat commented on Jun 19, 2023

    @patlecat
    patlecat
    on Jun 19, 2023
    More actions

    I'll gladly help out with all my knowledge about Crow if anyone's willing to take on the work required to adopt HTTP/2 or 3, either through a separate library or as an addition to Crow, but with my current time it's very difficult to justify such a massive change that the majority of people don't actually notice.

    Adapting to HTTP/2 or /3 isn't a user visible feature. Most people will never even understand what the differences are. But for companies serving thousands of requests per seconds this is an existiential difference.

  20. The-EDev commented on Jun 19, 2023

    @The-EDev
    The-EDev
    on Jun 19, 2023
    MemberAuthor
    More actions

    @patlecat could you please elaborate on how HTTP/2 and HTTP/3 benefit larger scale applications?

  21. patlecat commented on Jun 20, 2023

    @patlecat
    patlecat
    on Jun 20, 2023
    More actions

    @The-EDev By the performance increase of bundling several requests and by the decreased time it needs to establish the initial handshakes. With a few dozen requests per second that may not make a big differences but with many thousands or more it adds up considerably and this would save time and money (not the least with HW). It's the reason why some companies install a proxy server only to process the HTTPS tasks that took too much time on the main app server. Roughly.

  22. ffreality commented on Apr 9, 2024

    @ffreality
    ffreality
    on Apr 9, 2024
    More actions

    @patlecat could you please elaborate on how HTTP/2 and HTTP/3 benefit larger scale applications?

    As I know GraphQL's subscription feature require server push (tell me if I wrong) and we can implement our own subscription features.

  23. gfeyer commented on May 19, 2024

    @gfeyer
    gfeyer
    on May 19, 2024
    More actions

    Could we use nghttp2 for HTTP2 instead of building our own implementation? I'm thinking it might be easier to integrate an existing robust library instead of developing it from scratch.

    Reacted by Frozen Forest Reality Technologies
  24. ffreality commented on May 19, 2024

    @ffreality
    ffreality
    on May 19, 2024
    More actions

    Could we use nghttp2 for HTTP2 instead of building our own implementation? I'm thinking it might be easier to integrate an existing robust library instead of developing it from scratch.

    nghttp2 yes but I don't suggest libwebsocket because lack of custom header support. They integrated it only for http/1.1 and you have to know header's name.

    Reacted by gfeyer
  25. Import-Nihilism commented on Jan 23, 2026

    @Import-Nihilism
    Import-Nihilism
    on Jan 23, 2026
    More actions

    Any new updates on this front? 👀

  26. invisio-app
    added a commit that references this issue on Jun 4, 2026

    Autofix commit for alert CrowCpp#8

    59c50fc
  27. gittiver
    added the
    Feature
    issue type on Sep 14, 2026
  28. gittiver
    removed
    featureCode based project improvement
    on Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.