commit | cc6c2127f2316c2b2ad1e8919b45cde5e03f65aa | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Mon Feb 14 15:03:35 2011 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Thu Apr 07 14:36:40 2011 -0400 |
tree | d75c2fe1f4e0be7756b0277e9c707b5dc03c9912 | |
parent | 48e6555c7b3bf0d92f8167d8b8b8ecf4a3fdab84 [diff] |
svcrpc: close connection if client sends short packet If the client sents a record too short to contain even the beginning of the rpc header, then just close the connection. The current code drops the record data and continues. I don't see the point. It's a hopeless situation and simpler just to cut off the connection completely. Signed-off-by: J. Bruce Fields <bfields@redhat.com>