New issue
Advanced search Search tips

Issue 874073 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Infinite pending requests freezes the browser

Reported by rolebase...@gmail.com, Aug 14

Issue description

UserAgent: 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
 
Labels: Needs-Milestone
Cc: yhirano@chromium.org
Components: -Blink>Network Internals>Network
Adding Internals>Network based on  issue 863701 .
Labels: Needs-Feedback
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
Hi, we won't be able to proceed further with this bug without a log of the issue.
Cc: mastiz@chromium.org pkotw...@chromium.org sky@chromium.org
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)
	}
}

Status: WontFix (was: Unconfirmed)
Closing due to lack of feedback.

Sign in to add a comment