Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] Allow routes to specify the idle socket timeout in addition to the payload timeout (#73730) #75350

Merged
merged 1 commit into from
Aug 19, 2020

Commits on Aug 18, 2020

  1. Allow routes to specify the idle socket timeout in addition to the pa…

    …yload timeout (elastic#73730)
    
    * Route options timeout -> timeout.payload
    
    * timeout.idleSocket can now be specified per route
    
    * Removing nested ternary
    
    * Fixing integration tests
    
    * Trying to actually fix the integration tests. Existing tests are hitting
    idle socket timeout, not the payload timeout
    
    * Fixing payload post timeout integration test
    
    * Fixing PUT and DELETE payload sending too long tests
    
    * Fixing type-script errors
    
    * GET routes can't specify the payload timeout, they can't accept payloads
    
    * Removing some redundancy in the tests
    
    * Adding 'Transfer-Encoding: chunked' to the POST test
    
    * Fixing POST/GET/PUT quick tests
    
    * Adding idleSocket timeout test
    
    * Removing unnecessary `isSafeMethod` call
    
    * Updating documentation
    
    * Removing PUT/DELETE integration tests
    
    * Working around the HapiJS bug
    
    * Deleting unused type import
    
    * The socket can be undefined...
    
    This occurs when using @hapi/shot directly or indirectly via
    Server.inject. In these scenarios, there isn't a socket. This can also
    occur when a "fake request" is used by the hacky background jobs:
    Reporting and Alerting...
    
    * Update src/core/server/http/http_server.ts
    
    Co-authored-by: Josh Dover <[email protected]>
    
    * Adding payload timeout functional tests
    
    * Adding idle socket timeout functional tests
    
    * Adding better comments, using ?? instead of ||
    
    * Fixing the plugin fixture TS
    
    * Fixing some typescript errors
    
    * Fixing plugin fixture tsconfig.json
    
    Co-authored-by: Elastic Machine <[email protected]>
    Co-authored-by: Josh Dover <[email protected]>
    3 people committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    261c029 View commit details
    Browse the repository at this point in the history