incubator-hugegraph
incubator-hugegraph copied to clipboard
[Bug] Unexpected stream error with gzip & need enhance filter logic
Bug Type (问题类型)
other exception / error (其他异常报错)
Environment (环境信息)
- Server Version: 1.2 (Apache Release Version)
- Backend: RocksDB x nodes, HDD or SSD
Expected & Actual behavior (期望与实际表现)
after #2327, client/loader can't write data in right way (maybe lack GZIP header)
Also should address TODOs:
- [ ] add basic tests for URI/RawPath/Query function
- [ ] handle request body if need
- [ ] record client IP
- [ ] add test data loading ci for server (use loader - docker way)
- [ ] ....
@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.