http2

Tomcat 8.5 - Is Certificate/SSL required for HTTP2

穿精又带淫゛_ 提交于 2020-07-10 10:49:07
问题 I found Http2Protocol doc, that it doesn't supports HTTPS? Some protocols (e.g. HTTP/2) only support HTTP upgrade over non-secure connections. Is it a typo, or I must use HTTP and not HTTPS when using Tomcat HTTP2 or am I missing something? Because I added UpgradeProtocol to <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" /> For HTTP connector: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000"/> And added relevant alpn jar to JAVA_OPT using

What is difference between httpS and http/2?

被刻印的时光 ゝ 提交于 2020-07-05 03:04:39
问题 I'm trying to understand what is difference between https and http/2? If i'm going to build node.js/express app, what should i use? Can i use https with http/2? Maybe if i use https, i don't need http/2 because it's the same or https use http/2 under the hood? I'm confused. Someone is linked to me "difference between HTTP 1.1 and HTTP 2.0 [closed]", but i understand differense between HTTP and HTTP2. I'm asking about HTTP S and HTTP/2 回答1: HTTP - A protocol used by clients (e.g. web browsers)

Do we still need a connection pool for microservices talking HTTP2?

拈花ヽ惹草 提交于 2020-07-03 04:33:21
问题 As HTTP2 supports multiplexing, do we need still a pool of connections for microservice communication? If yes, what are the benefits of having such a pool? Example: Service A => Service B Both the above services have only one instance available. Multiple connections may help overcome OS buffer size limitation for each Connection(Socket)? What else? 回答1: Yes, you still need connection pool in a client contacting a microservice. First, in general it's the server that controls the amount of

Do we still need a connection pool for microservices talking HTTP2?

橙三吉。 提交于 2020-07-03 04:28:17
问题 As HTTP2 supports multiplexing, do we need still a pool of connections for microservice communication? If yes, what are the benefits of having such a pool? Example: Service A => Service B Both the above services have only one instance available. Multiple connections may help overcome OS buffer size limitation for each Connection(Socket)? What else? 回答1: Yes, you still need connection pool in a client contacting a microservice. First, in general it's the server that controls the amount of

Disable HTTP2 in IE11

。_饼干妹妹 提交于 2020-06-26 14:38:15
问题 I encountered problems in IE11 in combination with HTTP2 (SCRIPT7002: XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff.). These seem only to occur with IE11 / Win10 and HTTP2 enabled on our Tomcat. After researching here and trying nearly every suggestion we came to the decision to disable HTTP2. Since we want to use HTTP2 for other browsers our solution is to disable it in IE 11. On the first system it worked on the second system IE11 is just

Http2 & File Download

这一生的挚爱 提交于 2020-06-26 05:23:10
问题 We provide a file hosting solution. Our client are the end-users, who hit our servers though HTTP 1.1 protocol & download files. These client are basically software systems or CDNs, who download our files using software libraries. No human user accesses our system. We also provide option of partial file download using HTTP/1.1 range-header etc. Client system also download big file by splitting across chunks, using multiple threads. I want to check if there would be real benefit if we open up

Http2 & File Download

对着背影说爱祢 提交于 2020-06-26 05:21:39
问题 We provide a file hosting solution. Our client are the end-users, who hit our servers though HTTP 1.1 protocol & download files. These client are basically software systems or CDNs, who download our files using software libraries. No human user accesses our system. We also provide option of partial file download using HTTP/1.1 range-header etc. Client system also download big file by splitting across chunks, using multiple threads. I want to check if there would be real benefit if we open up

HTTP2 pushed webfonts not used

血红的双手。 提交于 2020-06-12 01:00:49
问题 I'm sending a Link preload header in the HTTP2 response. Like this one: Link: </assets/script/main.js?h=1795387974>; rel=preload; as=script, </assets/font/sourcesanspro_regular.woff2>; rel=preload; as=font scripts, styles and images don't cause any problem - they are pushed and used. But fonts are pushed and then requested/fetched again and the Chromium console complains: The resource https://example.com/assets/font/sourcesanspro_regular.woff2 was preloaded using link preload but not used

Requests served from ServiceWorker are downgraded from HTTP/2 to HTTP/1.1

拟墨画扇 提交于 2020-05-08 11:56:57
问题 I found a peculiar issue with service workers which apparently downgrades network request served via the worker to HTTP/1.1 even though the HTTP server is serving via HTTP/2. I have found this on all the sites serving on H2 with ServiceWorkers. I found this on my website and I thought it to be an issue with GatsbyJS. Apparently there is already an issue open which indicates a bug in Chromium. Is this the expected behavior? Where is this specced? Here is a link to my site. 回答1: This is one of

Requests served from ServiceWorker are downgraded from HTTP/2 to HTTP/1.1

旧街凉风 提交于 2020-05-08 11:52:28
问题 I found a peculiar issue with service workers which apparently downgrades network request served via the worker to HTTP/1.1 even though the HTTP server is serving via HTTP/2. I have found this on all the sites serving on H2 with ServiceWorkers. I found this on my website and I thought it to be an issue with GatsbyJS. Apparently there is already an issue open which indicates a bug in Chromium. Is this the expected behavior? Where is this specced? Here is a link to my site. 回答1: This is one of