• Marek Vavruša's avatar
    daemon/worker: reworked multiplexed worker · c7d62055
    Marek Vavruša authored
    * each query is assigned a task
    * each task contains request, some primitives and mempool
    * worker can process multiple tasks at once and
      offload I/O to event loop
    
    Not finished:
    
    * it depends on icmp/system timeouts, #22
    * tcp reads are going to be bad if the messages
      arrive fragmented #21
    c7d62055