Commit ed8a640
committed
Update Mockttp for relative-localhost, MacOS+OpenSSL & Node 20 fixes
Nothing super impactful here, but all good-to-do changes. Both the
Mac OpenSSL issue & Node 20 fixes specifically don't do anything yet,
but will help to put us in a better place to upgrade to newer Node
releases later this year, once other issues there are resolved.
Relative localhost refers to handling of requests to 'localhost'
addresses from non-local clients (which should be routed back to
themselves, not to our own localhost). Previously this was applied
textually, now we fully resolve the target IP and check definitively
whether it's a localhost address or not.1 parent fabcb44 commit ed8a640
2 files changed
+18
-16
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments