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

Difference between binary and text protocols in the context of http

What I read everywhere is http is a text based and http/2 is a binary based protocol. Lots of articles online suggests that http/2 binary protocol is more compact and efficient to process. Where exactly in the http work flow , text based protocol is…
M. Shashanka
  • 39
  • 1
  • 8
0
votes
1 answer

If a browser is HTTP1.x Compatible is it also HTTP2 compatable?

After reading many different articles, papers and blog-posts on the subject of HTTP2, including Wikipedia's HTTP2 page, and even some of the HTTP2 devs/engineers tweets about HTTP2, I am still a little unclear on the exact state of HTTP2's…
JΛYDΞV
  • 8,532
  • 3
  • 51
  • 77
0
votes
1 answer

What happens when triggering a GET request while a http2 push is in-flight for the same resource

What happens when triggering a single GET request, while simultaneously a http2 push is in-flight for the same resource? What is the specified behavior and what do the browsers actually do? An example scenario could look like this: at time 0: GET /…
Nick Russler
  • 4,608
  • 6
  • 51
  • 88
0
votes
2 answers

Prevent duplicate HTTP requests for cachable responses

Is it possible (without an application layer cache of requests) to prevent sending an HTTP request for the same resource multiple times when it's cachable? And if yes, how? E.g. instead of at time 0: GET /data (request#1) at time 1: GET /data…
Nick Russler
  • 4,608
  • 6
  • 51
  • 88
0
votes
0 answers

Reason for Java gRPC server "Half-closed without a request"

I have a gRPC server using the grpc-java library. Sometimes a call to the server is closed with and error status INTERNAL which is valued 13, and the description Half-closed without a request. I found this other question that seems similar, but…
0
votes
1 answer

Python hyper HTTP20Connection is sending DATA in 1024 byte chunks

I'm trying to send some HTTP/2 data with hyper 0.7.0 as the client. The data is getting chunked into 1024 byte segments before being sent to the server (much to my chagrin). As I look through the HTTP/2 SETTINGs packets I don't see anything that…
Rusty Lemur
  • 1,697
  • 1
  • 21
  • 54
0
votes
1 answer

HTTP2 and TLS with multiple socket connections

I have used http2 in which I'm using 2 sockets(8090,8091)and establishing 4 connections i.e. multiplexing 2 connections on each socket. I want to know about TLS. Whether we need TLS handshake only one time and then can continue and open another…
avi
  • 21
  • 2
0
votes
0 answers

Golang: http2: server sent GOAWAY and has a lastStreamID

We're using go1.12.1, as a HTTP client, if server sent a GOAWAY frame, I just wanna know Golang net library supported: http2goAwayTimeout configurable? I can see there's a TODO: configuration in the description, so not configurable now? There's…
Rui MA
  • 31
  • 4
0
votes
1 answer

Is there a speed benefit to decreasing HTTP requests if using HTTP2?

AFAIK the entire idea behind reducing HTTP requests to increase website speed lies in HTTP's inability to handle concurrent requests. HTTP2 allows concurrent requests. Is it still a performance benefit to reduce the number of HTTP requests made? Or…
TCooper
  • 1,545
  • 1
  • 11
  • 19
0
votes
1 answer

Request Timeout - JMeter HTTP2 Plugin

I'm using the HTTP2 Sampler by Blazemeter, which officially provided by JMeter Plugin Manager. At their repo, there are some steps to be made: https://github.com/Blazemeter/jmeter-http2-plugin I applied everyone of that required steps on my mac (I…
niklascube
  • 21
  • 4
0
votes
0 answers

How to serve an index.html in react js in http2

How to serve an index.html in react JS in http2.... like below express code const express = require('express'); const app = express(); app.use(express.static(`${__dirname}/../build`)); app.all('*', (req, res) =>…
Ram
  • 1
  • 1
  • 3
0
votes
1 answer

IllegalStateException in HttpChannel.handle in Jetty

My logs are getting full of exceptions like this: 8884902 [qtp1075738627-4458] WARN o.eclipse.jetty.server.HttpChannel - /upload java.lang.NullPointerException: null 78884902 [qtp1075738627-4458] WARN o.e.j.u.t.strategy.EatWhatYouKill - …
user2959589
  • 362
  • 1
  • 9
  • 23
0
votes
0 answers

HTTP2 with HAProxy

We are using HaProxy as a reverse proxy, SSL certifications are installed in the Load Balancer (SSL offloading). In the backend we have some websites using shopware and typo3 . We have enabled HTTP2 in HAproxy in order to improve the performance of…
ramslim
  • 1
  • 1
0
votes
0 answers

WCF request-response pairs with HTTP/2 and ajax calls

I have a WCF service on windows, with IIS 10. A webapp called this service with ajax, and the webserver (nginx) is HTTP/2. In the service and also the webapp I have identifiers for both the response and the request, and the request accept only the…
NemoPeti
  • 79
  • 1
  • 7
0
votes
2 answers

Extracting Pyshark Header "Stream ID" Information from a HTTP/2 packet

Suppose after pretty printing, my http/2 packet was displayed like : Layer HTTP2: Stream: HEADERS, Stream ID: 85, Length 169, POST xxxxxxxxxx Length: 169 Type: HEADERS (1) Flags: 0x24 .... ...0 = End Stream: False ....…