This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Commit 2aecb29
fix: check for flushed response headers during proxy request errors (#88)
* fix: prevent response from being sent if all res headers have been flushed (#86)
* test: add test to assert that a response is not resent after res headers have been flushed (#86)
* fix: remove whitespace
* docs: add comment to err conditional in request callback
* fix: perform explicit check on response attributes
Co-authored-by: James Sansbury <james@lullabot.com>
* fix linting errors
---------
Co-authored-by: James Sansbury <james@lullabot.com>1 parent 58cc5eb commit 2aecb29
2 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
47 | 58 | | |
48 | 59 | | |
49 | 60 | | |
| |||
0 commit comments