* Middleware overhaul!
- Remove unnecessary 'async' keywords from middleware functions
- Ensure all middleware functions we create have names
- Wrap the method contents of all async middleware functions in a try-catch+next(error) pattern
* Use asyncMiddleware wrapper instead of try-catch+next(error) pattern
* Remove unnecessary try-catch+next(error) pattern from context middleware
* Do not load the timeout middleware during testing
* Run the link-check-server in testing mode to avoid loading the timeout middleware
* Revert the change to 'package.json'
* Also consider GITHUB_ACTIONS to be a testing environment to support the link checkers
* Update and rename github-sensitive-data-removal-policy.md to github-private-information-removal-policy.md
* Update github-private-information-removal-policy.md
* Update content/github/site-policy/github-private-information-removal-policy.md
* Update github-private-information-removal-policy.md
* Update content/github/site-policy/github-private-information-removal-policy.md
Co-authored-by: Jesse Geraci <6133249+jessephus@users.noreply.github.com>
* add link to Community Guidelines
* add reference to ToS/AUP
* Update github-private-information-removal-policy.md
* replace "sensitive data" with "private information"
* Update github-private-information-removal-policy.md
* Update github-private-information-removal-policy.md
* account for active forking and large networks
* add link to AUP where we cite ToS in 1st sentence
* Update content/github/site-policy/submitting-content-removal-requests.md
Co-authored-by: Mike Linksvayer <mlinksva@github.com>
* Update github-private-information-removal-policy.md
* Fix some links
* Add new article to TOC
* Fix a link
Co-authored-by: Jesse Geraci <6133249+jessephus@users.noreply.github.com>
Co-authored-by: Mike Linksvayer <mlinksva@github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: Meg Bird <megbird@github.com>
The library has been moved to the `JuliaWeb` org. The previous link redirected to the new location.
Co-authored-by: Lee Dohm <1038121+lee-dohm@users.noreply.github.com>
* Add middleware to timeout requests after a period
* Add halt-on-dropped-connection middleware to stop the middleware processing stack if the connection was already dropped
* Add a few strategic bail-out spots for dropped connections during the render-page middleware
* Handle 404s and HEAD requests earlier in the page rendering flow
* Add a few more strategic bail-out spots for dropped connections during the render-page middleware
* Add middleware to notice aborted requests
* Add a check for aborted requests into the isConnectionDropped logic
* Reformat comment for consistency
* Handle aborted requests correctly in the error handler
* Explicit returns for consistency