Skip to content

Conversation

@Julow
Copy link
Contributor

@Julow Julow commented Jun 20, 2025

This makes Ocsigen_request.t lighter and remove a source of exceptions.

Value of type Unix.sockaddr were constructed for purposes other than performing network calls and can easily be replaced by a string.

Accesscontrol is the only user of parsed IP addresses, which doesn't justifies the weight added to the request record.
This removes a source of exception for every requests.

Julow added 2 commits June 20, 2025 15:22
This makes `Ocsigen_request.t` lighter and remove a source of
exceptions.

Value of type `Unix.sockaddr` were constructed for purposes other than
performing network calls and can easily be replaced by a string.

Accesscontrol is the only user of parsed IP addresses, which doesn't
justifies the weight added to the request record.
This removes a source of exception for every requests.
@Julow Julow merged commit e069a20 into ocsigen:master Jun 20, 2025
10 checks passed
@Julow
Copy link
Contributor Author

Julow commented Jun 20, 2025

Partially reverted: #272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant