apache / incubator-hugegraph

A graph database that supports more than 100+ billion data, high performance and scalability (Include OLTP Engine & REST-API & Backends)
https://hugegraph.apache.org
Apache License 2.0
2.64k stars 517 forks source link

[Bug] Unexpected stream error with gzip & need enhance filter logic #2346

Open imbajin opened 11 months ago

imbajin commented 11 months ago

Bug Type (问题类型)

other exception / error (其他异常报错)

Environment (环境信息)

Expected & Actual behavior (期望与实际表现)

after #2327, client/loader can't write data in right way (maybe lack GZIP header)

Also should address TODOs:

SunnyBoy-WYH commented 11 months ago

@javeme hi,like this issue , we need record the request's query language, do you know how can we get the requestbody? from my option, i try some methods but only this work: [get the post query and set it again] ,but it seems caused the bug.

ref:https://stackoverflow.com/questions/14560276/how-to-use-jersey-interceptors-to-get-request-body

when use loader on C/S model ,it cause GZIP format error.