﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26011	allow_reuse_address = 1 on WSGIServer can cause random test failures in LiveServerTestCase on Windows	Marten Kenbeek	Marten Kenbeek	"Windows happily allows a process to steal another process's address when `SO_REUSEADDR` is set. This can cause requests to go to the wrong `LiveServerThread`, and cause random test failures, such as http://djangoci.com/job/pull-requests-windows/886/. I can't reproduce this issue on Linux. 

The solution is quite simply to set `allow_reuse_address` to `0` on our `WSGIServer` implementation. The question is whether we want to do that only when running a `LiveServerTestCase`, or on the base `WSGIServer` class to prevent address stealing for `manage.py runserver` as well. "	Bug	closed	Testing framework	dev	Normal	fixed			Accepted	1	0	0	0	0	0
