Skip to content
Snippets Groups Projects
  • Richard Mudgett's avatar
    dbec5e0d
    HTTP: Add persistent connection support. · dbec5e0d
    Richard Mudgett authored
    Persistent HTTP connection support is needed due to the increased usage of
    the Asterisk core HTTP transport and the frequency at which REST API calls
    are going to be issued.
    
    * Add http.conf session_keep_alive option to enable persistent
    connections.
    
    * Parse and discard optional chunked body extension information and
    trailing request headers.
    
    * Increased the maximum application/json and
    application/x-www-form-urlencoded body size allowed to 4k.  The previous
    1k was kind of small.
    
    * Removed a couple inlined versions of ast_http_manid_from_vars() by
    calling the function.  manager.c:generic_http_callback() and
    res_http_post.c:http_post_callback()
    
    * Add missing va_end() in ast_ari_response_error().
    
    * Eliminated unnecessary RAII_VAR() use in http.c:auth_create().
    
    ASTERISK-23552 #close
    Reported by: Scott Griepentrog
    
    Review: https://reviewboard.asterisk.org/r/3691/
    ........
    
    Merged revisions 417880 from http://svn.asterisk.org/svn/asterisk/branches/12
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@417901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
    dbec5e0d
    History
    HTTP: Add persistent connection support.
    Richard Mudgett authored
    Persistent HTTP connection support is needed due to the increased usage of
    the Asterisk core HTTP transport and the frequency at which REST API calls
    are going to be issued.
    
    * Add http.conf session_keep_alive option to enable persistent
    connections.
    
    * Parse and discard optional chunked body extension information and
    trailing request headers.
    
    * Increased the maximum application/json and
    application/x-www-form-urlencoded body size allowed to 4k.  The previous
    1k was kind of small.
    
    * Removed a couple inlined versions of ast_http_manid_from_vars() by
    calling the function.  manager.c:generic_http_callback() and
    res_http_post.c:http_post_callback()
    
    * Add missing va_end() in ast_ari_response_error().
    
    * Eliminated unnecessary RAII_VAR() use in http.c:auth_create().
    
    ASTERISK-23552 #close
    Reported by: Scott Griepentrog
    
    Review: https://reviewboard.asterisk.org/r/3691/
    ........
    
    Merged revisions 417880 from http://svn.asterisk.org/svn/asterisk/branches/12
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@417901 65c4cc65-6c06-0410-ace0-fbb531ad65f3