Skip to content

Commit 41e4881

Browse files
committed
Added a note for HTTP1Connections being commented out.
1 parent 0856060 commit 41e4881

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionPool.swift

+7
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ import NIO
1717
enum HTTPConnectionPool {
1818
struct Connection: Hashable {
1919
typealias ID = Int
20+
21+
// PLEASE NOTE:
22+
// The HTTP/1.1 connection code here is commented out, for a sad and simple reason: We
23+
// don't have a HTTP1Connection yet. As soon as the HTTP1Connection has landed
24+
// (https://github.com/swift-server/async-http-client/pull/400) we will enable
25+
// HTTP1Connections here. Landing the connection box now enables us to already review the
26+
// ConnectionPool StateMachines.
2027

2128
private enum Reference {
2229
// case http1_1(HTTP1Connection)

0 commit comments

Comments
 (0)