You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Method field to RequestAttributes
Allows AuthHandler implementations to differentiate between Allocate,
Refresh, CreatePermission, and ChannelBind requests for custom auth
policies (e.g. applying TTL checks only on initial allocation).
Fixed channel number reuse, added server logs (pion#541)
Do not delete the client-side binding when a ChannelBind transaction
fails. This keeps the channel number stable for a peer even if
a response is lost, preventing "same peer, different channel" rebind
attempts.
Server already has channel-bind conflict detection implemented
and handled it silently. Added server warning logs in ChannelBind
handling to help discover and debug similar issues in the future.
Add a quota handler callback
This PR adds a quota handler callback function which, if specified, is
called by the server just before making an allocation for a user. The
handler should return a single bool: if true then the allocation
request can proceed, otherwise the request is rejected with a 486
(Allocation Quota Reached) error.