Hello. I'd like to know whether I'm going barmy.

I'm seeing a hang in Python's http.server module. It's
100% reproducible for me, and not hard to provoke.

In one Cygwin shell I go:

  $ python -m http.server 7777  # http.server is Python's
                                # standard library package

In another Cygwin shell I go:

  $ wget localhost:7777/    # completes normally, writes index.html
  $ wget localhost:7777/    # connects to the server, sends the request,
                            # times out waiting for a response

Meanwhile in the first shell, the Python process has gone berserk.
Process Explorer shows it as using 25% of CPU. My CPU has 8 cores.

My Cygwin version is 3.6.0-1 and I'm using it with Windows 10.

I'm using packages:
  python312 v3.12.9-1
  wget v1.25.0-1

This was working OK in Cygwin with my previous Python version, 3.9.

Cheers,
Tim

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to