OKHttpLogInterceptor icon indicating copy to clipboard operation
OKHttpLogInterceptor copied to clipboard

打印文件时会导致oom

Open whereareu opened this issue 1 year ago • 0 comments

打印response时, val peekBody = response.peekBody(Long.MAX_VALUE),Peeks up to [byteCount] bytes from the response body and returns them as a new response body,注意这里时子节不是比特,这个是一个大bug,最多应该只拷贝1M

whereareu avatar Oct 10 '24 02:10 whereareu