Ticket UUID: | c2dc1da315f3df3b62cae1f80862ecaf3c2d7ca9 | |||
Title: | coroutine "::http::1EventCoroutine" is already running | |||
Type: | Bug | Version: | http 2.9 | |
Submitter: | kjnash | Created on: | 2020-08-10 17:26:13 | |
Subsystem: | 29. http Package | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | Important | |
Status: | Closed | Last Modified: | 2020-12-31 15:35:12 | |
Resolution: | Fixed | Closed By: | kjnash | |
Closed on: | 2020-12-31 15:35:12 | |||
Description: |
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. | |||
User Comments: |
kjnash added on 2020-12-31 15:35:12:
Fix in branch bug-c2dc1da315-for-8-6 merged into core-8-6-branch and thus core-8-branch. |