aboutsummaryrefslogtreecommitdiff
path: root/src/socket.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-06channels: Fix checking for fatal errors.rofl0r1-18/+20
We need this that we don't end up in and infinite poll loop.
2011-05-20Fix "connecting to closed port" on MacosXAris Adamantiadis1-1/+1
2011-05-17socket: Fixed use-after-free.Oliver Stöneberg1-0/+6
When s->callbacks->exception() was called in ssh_socket_pollcallback() we had a use after free bug.
2011-05-02[socket] fix a segfault at disconnectmilo1-4/+15
(cherry picked from commit 56394917b15e41603c641c22a4e29c33b096d673)
2011-05-01init: Some initialization fixes.Oliver Stöneberg1-6/+18
- Check result of ssh_init() in privatekey_from_base64() - Moved code from ssh_finalize() to appropriate subroutines - Only initialize sockets once (caused mismatch of WSAStartup() and WSACleanup() calls and potential usage of bsd_poll when win_poll should be used)
2011-05-01socket: Fixed poll input event.Oliver Stöneberg1-1/+1
2011-04-15poll: Fix poll input events.Andreas Schneider1-1/+1
bug#38
2011-04-11build: Fixed some VS2010 problems.Oliver Stöneberg1-1/+1
2011-03-22Implement ssh_blocking_flush()Aris Adamantiadis1-0/+12
Based on code from Jan Willamowius
2011-02-14socket: Set errors on return.Bernhard R. Link1-1/+16
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-01-19Fix use-after-free when socket is closed in a callback handlerAris Adamantiadis1-2/+15
2011-01-15Fix double-connect testcaseAris Adamantiadis1-0/+19
2010-09-30Removed the extern char *environAris Adamantiadis1-3/+0
2010-09-29Remove extern environ from the requirementsAris Adamantiadis1-1/+1
2010-09-26Fixed outgoing flow control + writes behavioursAris Adamantiadis1-24/+28
2010-09-20socket.c: Fixed setting max_fd which breaks ssh_select().Vic Lee1-2/+6
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-07socket: Make code easier to read and debug.Andreas Schneider1-8/+10
2010-09-06misc: Rename libssh/ to src/Andreas Schneider1-0/+719