NetBare-Android
NetBare-Android copied to clipboard
Possible false positive error being reported?
Device: Android 8.1 Latest version of NetBare Sample
On many different pages an error is sometimes reported in logcat, e.g.:
2019-02-18 11:16:33.998 10376-10444/com.github.megatronking.netbare.sample E/NetBare: [TCP][62.210.94.130:443]Http2 TYPE_GOAWAY error code: NO_ERROR last stream: 3
The number for last stream varies, but the error ode NO_ERROR seems to indicate that no problem has occurred.
Should the code be changed to not report this as an ERROR in the case where errorCode == "NO_ERROR" ? Something like:
if (errorCode == "NO_ERROR") mLog.i("Http2 TYPE_GOAWAY error code: " + errorCode + " last stream: " + lastStreamId); else mLog.e("Http2 TYPE_GOAWAY error code: " + errorCode + " last stream: " + lastStreamId);
The page still loaded fine in Chrome, there were no visible signs of a problem.
same as #15