Questions tagged [http2]

HTTP2 (or HTTP v2.0) is an alternative to, but does not obsolete, HTTP1.1.

HTTP v1.1's underlying transport has several characteristics that have a negative overall effect on application performance today. HTTP/2 addresses these issues by defining an optimized mapping of HTTP's semantics to an underlying connection. Specifically, it allows interleaving of request and response messages on the same connection and uses an efficient coding for HTTP header fields. It also allows prioritization of requests, letting more important requests complete more quickly, further improving performance.

Source: RFC 7540 @ https://datatracker.ietf.org/doc/html/rfc7540
1819 questions
0
votes
1 answer

HTTP2 client with a custom TCP read buffer

I would like to have a HTTP2 client with a very small TCP socket read buffer. Other sockets in the system should remain with the default settings (adjusting the global tcp setting via /proc/sys/net/ipv4/tcp_rmem is not an option) Is there a utility…
0
votes
1 answer

Http2 Client in Angular 7

I want to use http2 for client side in my angular project. I installed http2 with "npm install http2" command and I used sample client code in http2-npm. However, I'm getting below warning WARNING in ./node_modules/http2/lib/protocol/index.js…
Arya
  • 43
  • 1
  • 6
0
votes
1 answer

spring boot netty server for http2 results in 413

Spring boot 2.2, using curl --http2 with default netty as server, for any method with data body, the server responses 413 To Large Entity, even when body is simply {"A":"B"}. While I tried it without body, it works fine. Is this a bug? $ curl…
Tiina
  • 4,285
  • 7
  • 44
  • 73
0
votes
1 answer

CentOS 8 with vhost suexec , PHP and HTTP2

I am testing new CentOS 8 for hosting PHP web apps. For years I used to use some suexec solution to run PHP code under linux user account (different user for each virtual host). This way the application could write to its own files but not to a…
0
votes
0 answers

how to make springboot support h2c in tomcat9?

I try for this,a new connector was made to try to support h2c,whent i try to use the curl send http2 request,An error occurred on the server; environment: springboot 2.1.4 tomcat 9 jdk 1.8 @Bean public ServletWebServerFactory servletContainer() { …
0
votes
0 answers

Usage of HTTP/2, from a web developer's standpoint

I'm very new to concept HTTP/1.1 or HTTP/2, I'm wondering from a web developer perspective, do any of these has to do with us? Do we have to refactor our code in order to utilize HTTP/2? Or most of these has to do with the browser instead? I…
Isaac
  • 12,042
  • 16
  • 52
  • 116
0
votes
0 answers

Error while running KCL consumer with the localstack Kinesis

Caught exception while syncing Kinesis shards and leases Caused by: io.netty.handler.codec.http2.Http2Exception: First received frame was not SETTINGS. Hex dump for first 5 bytes: 3c21444f43
khitsik
  • 3
  • 2
0
votes
1 answer

Why does HTTP/2 show a different type of header for status codes like 404

Why does HTTP/2 show a different type of header for status codes like 404 e.g: When I curl a HTTP/2 compatible webserver for a file that doesn't exist, I get HTTP/2 404 .....other headers When I curl a HTTP/1.1 webserver for a file that doesn't…
Example person
  • 3,198
  • 3
  • 18
  • 45
0
votes
2 answers

Cloudfront: HTTP/2 compliance issue

I've resorted to stackoverflow becase AWS doesn't provide technical support for free tiers. Someone reported an issue using httpx, the ruby HTTP client library I maintain: https://gitlab.com/honeyryderchuck/httpx/issues/64 The report came after a…
ChuckE
  • 5,610
  • 4
  • 31
  • 59
0
votes
1 answer

Is it okay to push manifest.json on HTTP/2? How should I delacre it as?

I want to push (HTTP/2 push, not push notification) manifest.json, is it okay? how should I declare it as? If it's image, usually as=image, css file as=style, for manifest.json? Edit, to expand info, this is server push using Link header. The reason…
somuch72
  • 358
  • 4
  • 15
0
votes
1 answer

How to configure Jetty in HTTP2 with external ssl offloading

All examples under https://github.com/eclipse/jetty.project have ssl factory in them. In my case ssl offloading is done at nginx level with self signed cert. What I need is just h2 connector (don't even h1) configured.
Petro Semeniuk
  • 6,970
  • 10
  • 42
  • 65
0
votes
1 answer

Can I do something similar to pipelining on HTTP 2?

Pipelining is a technique in HTTP/1.1 where multiple requests are sent at once without waiting for a response, on a keepalive connection. The responses are then returned in order by the server, without waiting for a round-trip-time between a…
JJJollyjim
  • 5,837
  • 19
  • 56
  • 78
0
votes
1 answer

How to keep long connection in HTTP2?

I am reading the documentation of Alexa Voice Service capabilities and came across the part on managing HTTP2 connection. I don't really understand how this down channel works behind the scenes. Is it using server push? Well, could server push be…
JLT
  • 3,052
  • 9
  • 39
  • 86
0
votes
2 answers

JMeter HTTP2 request error (Java 8, JMeter 5.1)

I have java 1.8.0_151 installed and JMeter 5.1. Trying to send HTTP2 request getting the following error: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No Client ALPNProcessors! at…
user270219
  • 91
  • 6
0
votes
1 answer

Understanding HTTP2 server push and multiplexing

From what I understand, what multiplexing means is that the client just need to create one TCP connection with the server and it can send multiple requests at the same time without having to wait for the response of one request before continuing…
JLT
  • 3,052
  • 9
  • 39
  • 86
1 2 3
99
100