Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-33885

[BP MB-33872] - Set ReadTimeout and WriteTimeout explicitly in eventing http server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.0.2
    • 5.5.3, 6.0.1
    • eventing
    • None
    • Triaged
    • Unknown

    Description

      The http server in eventing uses http.ListenAndServe to setup the server. It would be good to explicitly set ReadTimeout and WriteTimeout on the Server object to ensure very slow clients don't hold up connections. If the timeouts are not set, they default to off (no timeout) causing clients to hold up connections by reading slowly. This may lead to too many files open errors as seen in some customer deployments.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              satya.nand Satya Nand (Inactive)
              jeelan.poola Jeelan Poola
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty