Skip to content

Commit

Permalink
Update Sources/GRPCNIOTransportCore/Server/Connection/ServerConnectio…
Browse files Browse the repository at this point in the history
…nManagementHandler.swift
  • Loading branch information
glbrntt authored Oct 15, 2024
1 parent 66d98c9 commit f1b0286
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ package final class ServerConnectionManagementHandler: ChannelDuplexHandler {
// This should be resolved in NIOHTTP2: https://github.com/apple/swift-nio-http2/issues/466
//
// Only close the connection if it's not already closing (as this is the state in which the
// error can be safely.
// error can be safely ignored).
return !self.state.isClosing

case is NIOHTTP2Errors.StreamError:
Expand Down

0 comments on commit f1b0286

Please sign in to comment.