Unverified Commit bebc58ac authored by DanielBauman88's avatar DanielBauman88 Committed by GitHub
Browse files

fix: small comment update (#2304)



The comment talked about the server hanging up while
the response was being read.

The server hanging up while the response is read should not
be a problem. The client will still read whatever the server
has sent before getting to the fin/rst that closes the connection.

This error should only (I think) happen if the server hangs up
before sending a complete response or if the server sends an
invalid response.

Co-authored-by: default avatarJohn DiSanti <jdisanti@amazon.com>
Co-authored-by: default avatarZelda Hessler <zhessler@amazon.com>
parent de97b3d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -334,7 +334,7 @@ pub enum SdkError<E, R = operation::Response> {
    DispatchFailure(DispatchFailure),

    /// A response was received but it was not parseable according the the protocol (for example
    /// the server hung up while the body was being read)
    /// the server hung up without sending a complete response)
    ResponseError(ResponseError<R>),

    /// An error response was received from the service