demo
demo copied to clipboard
Python Stream Load 数据量很大时,在高版本 SR 会报错
Python requests 库并没有很好的支持 HTTP Except:100-continue header,所以在向 FE 发起请求时,会连同数据一起发过去,新版本的 LoadAction.java 文件中 executeWithoutPasswordInternal 函数在校验完 header 后,立即执行 response.setForceCloseConnection(true);关闭连接,此时 requests 还会向 fe 传输剩下的数据,但连接已被断开,所以会报 Connection reset by peer 错误。