Skip to content
Snippets Groups Projects
  • Andy Green's avatar
    93bc409c
    POST: handle http/1 pipelined after body · 93bc409c
    Andy Green authored
    Re-use wsi->preamble_rx to also hold leftover rx after dealing with POST
    body.  Ensure ah->rx is always big enough to cope with what may have
    been read into the pt->serv_buf.
    
    Update the check for forced needed to also accept non-NULL wsi->preamble
    as well as ah->rxpos != ah->rxlen as indication forced needed.
    
    Disable autoservice on ah reset during transaction completed... it may
    close the wsi underneath us when it sees and processes the pending
    wsi->preamble_rx recursively otherwise.
    93bc409c
    History
    POST: handle http/1 pipelined after body
    Andy Green authored
    Re-use wsi->preamble_rx to also hold leftover rx after dealing with POST
    body.  Ensure ah->rx is always big enough to cope with what may have
    been read into the pt->serv_buf.
    
    Update the check for forced needed to also accept non-NULL wsi->preamble
    as well as ah->rxpos != ah->rxlen as indication forced needed.
    
    Disable autoservice on ah reset during transaction completed... it may
    close the wsi underneath us when it sees and processes the pending
    wsi->preamble_rx recursively otherwise.