question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: HTTP2 support

See original GitHub issue

Node.js supports HTTP2, and it appears the Lambda endpoints now too support HTTP2 (see below).

It would be considerably more efficient if it were possible to invoke Lambda functions using HTTP2 to avoid needless TLS handshakes and high concurrent of TCP/IP connections for HTTP/1.1 support.

Is there any plan to add HTTP2 support to this library any time soon?


$ curl --verbose https://lambda.us-east-1.amazonaws.com
* Rebuilt URL to: https://lambda.us-east-1.amazonaws.com/
*   Trying 52.5.91.208...
....
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fa311006600)
> GET / HTTP/2
> Host: lambda.us-east-1.amazonaws.com
> User-Agent: curl/7.54.0
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 403
< date: Mon, 15 Oct 2018 11:57:58 GMT
< content-length: 127
< x-amzn-requestid: 8f59aa36-d071-11e8-8fd1-0558df7ee5f8
<

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:17
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

14reactions
srchasecommented, Oct 16, 2018

Thanks for submitting this request.

This is a feature that we’re considering for the next major version of the SDK.

2reactions
baobo5625commented, Apr 18, 2020

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP/2 Frequently Asked Questions
For HTTP/2 over TLS ( h2 ), if you do not implement the http1.1 ALPN identifier, then you will not need to support...
Read more >
[Feature Request] Support HTTP/2 requests #997 - GitHub
Currently when Insomnia makes its requests to an HTTPS enabled site, it only uses HTTP/1.1. It would be great if Insomnia would utilize...
Read more >
Introduction to HTTP/2 - web.dev
HTTP/2 (or h2) is a binary protocol that brings push, multiplexing streams and frame control ... and add support for request prioritization and...
Read more >
HTTP2 support for Loadbalancer - Scaleway Feature Requests
We would like http/2 support for our loadbalancer on the https frontends of course. ... Enable HTTP/2 protocol in load Balancer.
Read more >
HTTP/2 Support - HTTPX
A next-generation HTTP client for Python.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found