Page MenuHomePhabricator

[lib] Allow calling endpoints with empty payload
ClosedPublic

Authored by tomek on May 5 2023, 8:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 8:54 AM
Unknown Object (File)
Tue, Apr 16, 3:11 AM
Unknown Object (File)
Mon, Apr 15, 9:54 PM
Unknown Object (File)
Sun, Apr 14, 11:55 PM
Unknown Object (File)
Sat, Apr 13, 11:36 AM
Unknown Object (File)
Thu, Apr 11, 8:09 AM
Unknown Object (File)
Tue, Apr 9, 6:41 AM
Unknown Object (File)
Fri, Apr 5, 5:52 AM
Subscribers

Details

Summary

At this point socket validation fails for requests without a payload. A new endpoint that was introduced in D7726 doesn't have a payload and we should allow sending a request to it.

Test Plan

Check if sending a request passes validation.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 5 2023, 8:55 AM
Harbormaster failed remote builds in B19071: Diff 26119!
tomek requested review of this revision.May 8 2023, 3:30 AM

Thanks for making this fix. siweNonceResponder also doesn't have an input

This revision is now accepted and ready to land.May 8 2023, 7:28 AM