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

CDN from Azure not using HTTP2

I'm using Azure Storage Blobs and have Azure CDN in front of it serving static images and videos. I have been trying to get my website to use HTTP2 for a while now, but have run into issues with how Azure containerizes .NET Core applications on…
AJ Tatum
  • 653
  • 2
  • 15
  • 35
0
votes
1 answer

How mush clients SSE supports?

Let's assume there are a several clients that must receive updated data from server. They connect to server and communicate using Server Sent Event push. How SSE knows that concrete message should be addressed to concrete client like it works in…
user14670325
0
votes
1 answer

Is there a way to support multiplexing in WebSocket? similar to stream id in http/2

WebSocket is bidirectional and full duplex like http/2. Therefore, the client can make multiple requests simultaneously. There are concept on stream id in http/2 to support multiple requests can be interleaved and processed by the server in out of…
jwchoi
  • 607
  • 7
  • 13
0
votes
2 answers

How to setup a google cloud load balancer to take advantage of http2 support in varnish?

On Google Cloud I've setup a VM as varnish 6 (community) to manage http and http2 (without SSL/TLS). I've also setup hitch on port 443 and using a public IP it works fine. Goal (EDIT) Now I'd like to put this VM behind a load balancer, as pointed…
0
votes
1 answer

http2 request not working in cloudfront connected by route53 on aws

i provide some service with aws. in my case S3 react bundle file => cloudfront => route 53 http2 request success in cloudfront for example, when i access to cloudfront Domain Name, i can receive all chunk file and css file with http2. like below…
0
votes
1 answer

What is the optimum http/2 push links for mobile sites?

I have LEMP stack WordPress sites (responsive theme) and use mod_pagespeed with Cloudflare. I have enabled mod_pagespeed filter hint_preload_subresources. I can see that there are over 20 http/2 pushes URL's. 13 URL are added by myself in nginx…
Chathu
  • 55
  • 8
0
votes
1 answer

How to add http/2 header in htaccess to push a file

I'm trying preload a file pushing it by an HTML header based on HTTP/2 directive. But I receive an error 500 after make any modification in htaccess file. Here is the piece of code that i'm using in htaccess: # add custom header to single…
0
votes
0 answers

gRPC load balancing with nginx works much slower than direct

I am using grpc-go and want to use nginx for load balancing, but I do not understand why grpc_pass gives much worse results? Benchmark test: upstream "go_grpc" { server 127.0.0.1:10000; } server { listen 11000; proxy_pass…
Sparks
  • 1
0
votes
0 answers

net::ERR_HTTP2_PROTOCOL_ERROR with jquery XMLHttpRequest on IIS 10 with HTTP2

i have a website www.sampledomain.com developed into .NET Frameowkr 4, hosted on Windows Server 2016 Production with HTTP2 actived by default with UCC SSL Certificate NOT SelfSigned. This website works fine with http2 and https (TLS1.2) and it…
0
votes
1 answer

Golang H2C Server doesn't write full body. Chrome says: "Server reset stream". Only occurs over http2 connection

Most Recent Version of Go (1.153) Below is the code for reproducibility. Please try to access https://easy-dp.ngrok.io to see the issue. Here's what I did: Create a Reverse Proxy accessing Gzipped/ Br encoded Content Request a publicly available…
Austin Peña
  • 300
  • 4
  • 11
0
votes
1 answer

Setting port for gRPC server

From my understanding, gRPC's protocol is http2 on top of TCP. Therefore, the maximum port that can be assigned is 65535, right? But it seems like if I set the server address to be something like "0.0.0.0:70040" which is out of the range, it is…
the newbie coder
  • 652
  • 2
  • 8
  • 27
0
votes
1 answer

okhttp3 memory high after stress test with http2

Excuse me, I'm doing a stress test using http2 with okhttp3 as library I'm using JMeter as testing tool My thread is 200 for 300s and ramp up in 30s I'm using docker as a platform After stress test, the memory goes up high into 8GB and never go…
yanwi
  • 1
0
votes
1 answer

WebSockets over HTTP/2, and GOAWAY

I am interested in how WebSockets over HTTP/2 work on browsers (Firefox, specifically, since that 's the only one I'm aware of which supports Websockets over H2) with GOAWAYs. Now, I know that GOAWAYs are connection-level events, and if IIUC, a…
Shiv Ghai
  • 3
  • 1
0
votes
1 answer

Golang: Explain DumpRequest and DumpResponse HTTP/2

clientt := &http.Client{ Timeout: 30 * time.Second, } var tr = &http2.Transport{} clientt.Transport = tr I create a client and send http/2 request. with http2 transport but in DumpRequest I see GET / HTTP/1.1 Host: www.xxxxq23.com In response…
Alex
  • 13
  • 2
0
votes
1 answer

HTTP2 setup for NodeJS Express on Apache throws Error

I have trouble setting up HTTP2 for NodeJS v12.19.0/Express App, provided over an Apache server. I enabled mod http2 & proxy_http2 and installed npm http2. The bin/www looks as follows: var app = require('../app'); var debug =…