Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 65369a8accd6dd04e75ab04affbc86f3969dbcf711cf78988af8c4bb5a9943aa
Ticket: c2dc1da315f3df3b62cae1f80862ecaf3c2d7ca9
coroutine "::http::1EventCoroutine" is already running
User & Date: kjnash on 2020-08-10 17:36:00
Changes

  1. comment changed to:
    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.
    
  2. login: "kjnash"
  3. mimetype: "text/plain"