Infinite pending requests freezes the browser
Reported by
rolebase...@gmail.com,
Aug 14
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 Steps to reproduce the problem: 1. Setup a webserver which does not respond to favicon requests (neither 404, 500 or anything) 2. Open chrome browser an navigate to the index page of your webserver 3. Wait about 10 minutes and the browser will not be able send any futher request What is the expected behavior? If a server does not respond to the favicon requests the browser should be able to stop its pedning request or it should not send any further favicon requests. What went wrong? Chrome produces an infinite stack of pending requests for favicon requests not answered by the server and stuck itself because of this. Did this work before? N/A Does this work in other browsers? N/A Chrome version: <Copy from: 'about:version'> Channel: n/a OS Version: 10.0 Flash Version: This is the root cause of the issue https://bugs.chromium.org/p/chromium/issues/detail?id=863701
,
Aug 22
Adding Internals>Network based on issue 863701 .
,
Aug 22
Please collect and attach a chrome://net-export log. Instructions can be found here: https://sites.google.com/a/chromium.org/dev/for-testers/providing-network-details
,
Aug 28
Hi, we won't be able to proceed further with this bug without a log of the issue.
,
Sep 4
Again, we need a NetLog to further diagnose this. I set up a quick test server and we cancel the previous requests just fine.
I'm CC'ing components/favicon/OWNERS in case there's anything they would like to do without a NetLog, but I'm going to assume that the bug continues to be waiting on feedback from the reporter.
----
package main
import (
"net/http"
"time"
)
func hangRequest(w http.ResponseWriter, r *http.Request) {
for {
time.Sleep(1 * time.Hour)
}
}
func main() {
http.HandleFunc("/favicon.ico", hangRequest)
http.Handle("/", http.FileServer(http.Dir(".")))
if err := http.ListenAndServe(":8080", nil); err != nil {
panic(err)
}
}
,
Sep 14
Closing due to lack of feedback. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by swarnasree.mukkala@chromium.org
, Aug 15