Skip to content

Commit 77fdb04

Browse files
committed
Added a note for HTTP1Connections being commented out.
1 parent 1436777 commit 77fdb04

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionPool.swift

+7
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ enum HTTPConnectionPool {
1818
struct Connection: Hashable {
1919
typealias ID = Int
2020

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.
27+
2128
private enum Reference {
2229
// case http1_1(HTTP1Connection)
2330

0 commit comments

Comments
 (0)