Changes between Initial Version and Version 1 of Ticket #31653, comment 3


Ignore:
Timestamp:
Sep 6, 2019, 12:20:08 AM (3 months ago)
Author:
mikeperry
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31653, comment 3

    initial v1  
    55As a workaround: Can you try replacing the direct call to circpad_send_padding_cell_for_callback() from circpad_machine_schedule_padding() for the case where in_usec <0 (https://github.com/pylls/tor/blob/40c6f9bd887bdec7ed3bb03c690dd3d560321d48/src/core/or/circuitpadding.c#L1485) with an assignment of either in_usec = 0 or in_usec = 1?
    66
    7 This will cause us to unwind back to libevent to call timer_set_cb() on the next event loop.
     7By removing the direct call to circpad_send_padding_cell_for_callback() and instead letting code continue to the timer_set_cb() codepath, this will cause us to unwind back to libevent to call timer_set_cb() on the next event loop.
    88
    99Hope this helps!