You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/03/03 22:58:54 UTC

[GitHub] [couchdb] nickva opened a new pull request #1960: Improve chttpd_socket_buffer_size_test

nickva opened a new pull request #1960: Improve chttpd_socket_buffer_size_test
URL: https://github.com/apache/couchdb/pull/1960
 
 
   Previously this test used to fail on Windows, possibly to due to a full restart
   of the chttp and mochiweb applications. It turns out chttpd monitors config
   changes and restarts the listner if there any change which affect the listening
   socket. One issue with this approach is that restart intensity is limited to 3
   times in 10 seconds. To avoid this usue, some redundant tests were removed. The
   three tests which are left should cover the same functionality as before,
   namely:
   
    1) In the default case, a large enough (7KB) url and header should be parsed.
   
    2) Manually setting `buffer` works and will reduce the maximum header line
    length and then the server should return a 400 error.
   
    3) Setting `recbuf` also sets the user land `buffer` value as well with the
    same effect as 2).
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services