Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 2, 2025

This was broken by #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: #25654

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
@sbc100 sbc100 requested review from juj and kripken November 2, 2025 21:57
@juj
Copy link
Collaborator

juj commented Nov 3, 2025

Is protocol_version a upstream SimpleHTTPRequestHandler variable, or something used just by us?

@juj
Copy link
Collaborator

juj commented Nov 3, 2025

Would be good to have a test of the failing cmdline if possible. I think we had emrun tests in the other suite?

@sbc100
Copy link
Collaborator Author

sbc100 commented Nov 3, 2025

I think that our emrun tests are currently disabled.. we should certainly re-enable. When we do I will try to confirm if there is already a test for this, and if not I will add one.

@sbc100
Copy link
Collaborator Author

sbc100 commented Nov 3, 2025

Is protocol_version a upstream SimpleHTTPRequestHandler variable, or something used just by us?

Its upstream. However I guess that point at which is it read means that out previous usage of it was not effectual When I I fixed that, the 1.1 starting having and effect which then broke emrun due to the open connection.

@sbc100 sbc100 merged commit 14ffb90 into emscripten-core:main Nov 3, 2025
34 checks passed
@sbc100 sbc100 deleted the fix_emrun branch November 3, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

emrun --kill_exit 4.0.16 regression

2 participants