incubator-hugegraph icon indicating copy to clipboard operation
incubator-hugegraph copied to clipboard

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

Open imbajin opened this issue 1 year ago • 1 comments

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)
  • [ ] ....

imbajin avatar Nov 10 '23 06:11 imbajin

@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.

SunnyBoy-WYH avatar Nov 16 '23 14:11 SunnyBoy-WYH