Premature end of Content-Length delimited message body

1,070 阅读1分钟

在使用公司对象存储时频繁的爆出以下错误:

org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: *; received: *) 其表示的含义是:
Content-Length 分隔的消息正文过早结束

访问对象存储使用了域名,走了nginx,曝出的错误,经过排查是流没有关闭。