Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2020-12-31
15:35 • Closed ticket [c2dc1da315]: coroutine "::http::1EventCoroutine" is alr... artifact: 888dceef7c user: kjnash
2020-08-29
13:31 • Add attachment http-2.9.5.tm--for-8.7 to ticket [c2dc1da315f3df3b|c2dc1... artifact: 1750720b4c user: kjnash
13:30 • Add attachment http-2.9.5.tm--for-8.6 to ticket [c2dc1da315f3df3b|c2dc1... artifact: 02a6534766 user: kjnash
13:22 • New ticket [b1add8f61f] coroutine "::http::dechunksockd72420" is alrea... artifact: 24c0fbcc33 user: kjnash
2020-08-10
17:36 • Ticket [c2dc1da315] coroutine "::http::1EventCoroutine" is already run... artifact: 65369a8acc user: kjnash
17:26 • New ticket [c2dc1da315]. artifact: 4efdf2d88e user: kjnash

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: