From 953608c53de0ad628a60c5a3412bb2ca93a57dc9 Mon Sep 17 00:00:00 2001 From: Fabian Fett Date: Fri, 3 Dec 2021 16:36:00 +0100 Subject: [PATCH] Fix code comment: Replace `HTTPExecutingRequest` with `HTTPExecutableRequest` --- .../ConnectionPool/HTTP2/HTTP2ClientRequestHandler.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/AsyncHTTPClient/ConnectionPool/HTTP2/HTTP2ClientRequestHandler.swift b/Sources/AsyncHTTPClient/ConnectionPool/HTTP2/HTTP2ClientRequestHandler.swift index 09d2815f3..60c76a46d 100644 --- a/Sources/AsyncHTTPClient/ConnectionPool/HTTP2/HTTP2ClientRequestHandler.swift +++ b/Sources/AsyncHTTPClient/ConnectionPool/HTTP2/HTTP2ClientRequestHandler.swift @@ -256,8 +256,8 @@ final class HTTP2ClientRequestHandler: ChannelDuplexHandler { private func writeRequestBodyPart0(_ data: IOData, request: HTTPExecutableRequest) { guard self.request === request, let context = self.channelContext else { - // Because the HTTPExecutingRequest may run in a different thread to our eventLoop, - // calls from the HTTPExecutingRequest to our ChannelHandler may arrive here after + // Because the HTTPExecutableRequest may run in a different thread to our eventLoop, + // calls from the HTTPExecutableRequest to our ChannelHandler may arrive here after // the request has been popped by the state machine or the ChannelHandler has been // removed from the Channel pipeline. This is a normal threading issue, noone has // screwed up.