I built a custom plugin and found ondata_response is invoked 2 or 3 times when receive a big size payload from backend server. Is that true? Could we limit ondata_response only invoked once?
ondata_request and ondata_response receive chunked requests and responses respectively. Therefore they are invoked multiple times. Take a look at this example on how to accumulate responses.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |