Skip to content

Commit 14ffb90

Browse files
authored
Fix for emrun --kill-exit (emscripten-core#25703)
This was broken by emscripten-core#25359. I though I was just moving this assignment to the correct place, but it seems like it broken emrun because the 1.1 protocol was not actually enabled before. Once enabled it seems like this was causing `httpd.server_close` to hang forever. Fixes: emscripten-core#25654
1 parent 7569d8e commit 14ffb90

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

emrun.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,6 @@ def shutdown(self):
578578

579579
# Processes HTTP request back to the browser.
580580
class HTTPHandler(SimpleHTTPRequestHandler):
581-
protocol_version = 'HTTP/1.1' # noqa: DC01
582-
583581
def send_head(self):
584582
global page_last_served_time
585583
path = self.translate_path(self.path)

0 commit comments

Comments
 (0)