Commit e911cbb
committed
fsthttp: SetParseRequestURI now lets you register a replacement for url.ParseRequestURI
This is like #136 but
more suitable for polite company, with less bloat, less opinion
about the right way to parse urls, and near zero overhead unless
opted in.
The change is behind its own little build tag, fastlyinternalsetparseuri,
because it may be needed at different times than the things behind
our other private api build tag.
Tested with sigsci-edge, for which a PR will soon be forthcoming.1 parent 8a5d69d commit e911cbb
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
| |||
149 | 152 | | |
150 | 153 | | |
151 | 154 | | |
152 | | - | |
| 155 | + | |
153 | 156 | | |
154 | 157 | | |
155 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments