commit | 1f56bbedf4db521ea98bde7dd824a1b7e623ee66 | [log] [tgz] |
---|---|---|
author | Douglas Creager <dcreager@google.com> | Sat Feb 17 03:58:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Feb 17 03:58:40 2018 |
tree | 08825816c76b2702a9b3d7429a002e05038c672d | |
parent | 3245f1f1676c86f67bcdb6fac7c6804d7dab1d73 [diff] |
Network Error Logging: Reports for successful requests and HTTP errors We now generate NEL reports for successful requests, rate limited by the `success-fraction` field of the NEL configuration header. We have to handle HTTP errors (i.e., those with 4xx and 5xx status codes) specially, since they show up as "successful" according to the network stack, but NEL considers that to be a special `http.error` failed request. Bug: 748549 Change-Id: I1a0a01fd52a4782855ba410be1301b0ccb81ee30 Reviewed-on: https://chromium-review.googlesource.com/893679 Commit-Queue: Douglas Creager <dcreager@google.com> Reviewed-by: Julia Tuttle <juliatuttle@chromium.org> Reviewed-by: Martin Šrámek <msramek@chromium.org> Cr-Commit-Position: refs/heads/master@{#537526}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .