Integrated: 8308565: HttpClient: Sanitize logging while stopping
    Daniel Fuchs 
    dfuchs at openjdk.org
       
    Tue May 23 15:18:53 UTC 2023
    
    
  
On Mon, 22 May 2023 15:45:57 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> When the HttpClient is stopping many exception stack traces may be logged, in particular if the Http2Connection attempts to send a GOAWAY frame after the underlying TCP connection or the selector have been closed.
> 
> The Http2Connection should look at the Http2ClientImpl state before logging the exception as an error. If the Http2ClientImpl is stopping, a simple debug message should be enough.
This pull request has now been integrated.
Changeset: 9e196b36
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9e196b3631af0156ce9958a2f631894968211a4c
Stats:     31 lines in 2 files changed: 25 ins; 1 del; 5 mod
8308565: HttpClient: Sanitize logging while stopping
Reviewed-by: jpai
-------------
PR: https://git.openjdk.org/jdk/pull/14089
    
    
More information about the net-dev
mailing list