• Bence Béky's avatar
    Stringify network error in HTTP2_STREAM_ERROR. · 3d850db7
    Bence Béky authored
    Change NetLogSpdyStreamErrorCallback() to stringify error.
    Example netlog output before this change:
    
    HTTP2_STREAM_ERROR
    --> description = "SPDY stream closed with error_code: 2"
    --> status = -337
    --> stream_id = 59
    
    After this change:
    
    HTTP2_STREAM_ERROR
    --> description = "SPDY stream closed with error_code: 2"
    --> error = SPDY_PROTOCOL_ERROR
    --> stream_id = 59
    
    Change-Id: If58ad76f3b99dde7f22e8bf81c2251f6fba9d2e3
    Reviewed-on: https://chromium-review.googlesource.com/594192
    Commit-Queue: Bence Béky <bnc@chromium.org>
    Reviewed-by: default avatarHelen Li <xunjieli@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#491176}
    3d850db7
spdy_stream.h 20.1 KB