HTTPDecoder: remove rawURI (#899)

Motivation:

Before native UTF-8, the rawURI was a performance optimisation but
that's no longer true. Before this patch, we still had the rawURIs but
weren't using them at all.

Modifications:

remove any mention of rawURI

Result:

less clutter
This commit is contained in:
Johannes Weiss authored and Cory Benfield committed 2019-03-13 10:24:49 +00:00
1 parent b126287b78
commit ae3459aebf
2 files changed
+20 -46

No files matched your search

+1 -1
View File
@@ -530,7 +530,7 @@ public class HTTPDecoder<In, Out>: ByteToMessageDecoder, HTTPDecoderDelegate {
case .request:
let reqHead = HTTPRequestHead(version: .init(major: versionMajor, minor: versionMinor),
method: HTTPMethod.from(httpParserMethod: method),
rawURI: .string(self.url!),
uri: self.url!,
headers: HTTPHeaders(self.headers,
keepAliveState: keepAliveState))
message = NIOAny(HTTPServerRequestPart.head(reqHead))