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
Refuse PUSH_REQUEST as client/refactor process_incoming_push_request
When a server sends a client a push request, the client will reply
with a push reply. The reply is bogus and almost empty since almost
all the options that are normally set (remote ip etc) are unset.
I checked 2.4 and master and this does not have any security implications
or other bugs but it is still better to refuse this.
This code also refactors the method to get rid of the ret variable to
make the code flow easier to understand.
Signed-off-by: Arne Schwabe <[email protected]>
0 commit comments