Allow bigger responses to `/federation/v1/state` (#12877)
* Refactor HTTP response size limits Rather than passing a separate `max_response_size` down the stack, make it an attribute of the `parser`. * Allow bigger responses on `federation/v1/state` `/state` can return huge responses, so we need to handle that.
Showing
- changelog.d/12877.bugfix 1 addition, 0 deletionschangelog.d/12877.bugfix
- synapse/federation/transport/client.py 8 additions, 7 deletionssynapse/federation/transport/client.py
- synapse/http/matrixfederationclient.py 7 additions, 22 deletionssynapse/http/matrixfederationclient.py
- tests/http/test_fedclient.py 3 additions, 3 deletionstests/http/test_fedclient.py
Loading
Please register or sign in to comment