Skip to content
Tcl Source Code View Ticket
Login

View Ticket

coroutine "::http::1EventCoroutine" is already running

Closed / Fixedc2dc1da315f3df3b62cae1f80862ecaf3c2d7ca9Created 6 years agoUpdated 6 years ago
Descriptionplain2020-08-10 17:26:13
When http::get is called with option -handler or -progress, the callback command is called by the coroutine that processes "fileevent readable" events on the HTTP socket.

If the callback command enters the event loop, this allows another "fileevent readable" event to be processed, resulting in a recursive call of the coroutine handler, and a bgerror such as

coroutine "::http::1EventCoroutine" is already running

Thanks to Alexandru Dadalau for the bug report.

See branch bug-c2dc1da315 for work on a fix.
Referenced by1
  • 24c0fbcc33New ticket [b1add8f61f] coroutine "::http::dechunksockd72420" is already running. ticket2020-08-29 13:22:34
kjnash Ticket [c2dc1da315]: 3 changes [History diff]2020-08-10 17:36:00
kjnashplain2020-12-31 15:35:12
Fix in branch bug-c2dc1da315-for-8-6 merged into core-8-6-branch and thus core-8-branch.
Log in (anonymous is fine) to add a comment.

Attachments: