Artifact f9881e0f70ed9057e6b924b081cf015e4e001e25:
- File ssh.c — part of check-in [c87aa624ea] at 2012-08-25 16:06:48 on branch trunk — Better handling of outstanding CHANNEL_REQUESTS on channel destruction. Part the first: make sure that all structures describing channel requests are freed when the SSH connection is freed. This involves adding a means to ask a response handler to free any memory it holds. Part the second: in ssh_channel_try_eof(), call ssh2_channel_check_close() rather than emitting an SSH_MSG_CHANNEL_EOF directly. This avoids the possibility of closing the channel while a CHANNEL_REQUEST is outstanding. Also add some assertions that helped with tracking down the latter problem. (user: ben size: 311855)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.