1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 18:07:59 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Simon Tatham
3730ada5ce Run entire source base through GNU indent to tidy up the varying
coding styles of the various contributors! Woohoo!

[originally from svn r1098]
2001-05-06 14:35:20 +00:00
Simon Tatham
8695ee2def Remove my dire-warning `FIXME' in IPv4 dotted-decimal handling
because Jeroen points out that it's perfectly OK the way it is :-)

[originally from svn r1080]
2001-04-28 11:24:45 +00:00
Simon Tatham
03c9b6107b Replace PuTTY's 2-3-4 tree implementation with the shiny new counted
one, in preparation for using it to speed up scrollback.

[originally from svn r1053]
2001-04-16 17:18:24 +00:00
Simon Tatham
cc100b5676 Increase the read buffer size in network processing for extra speed.
[originally from svn r1047]
2001-04-16 12:25:03 +00:00
Simon Tatham
dfb9893509 David Brinegar's workaround for an error reporting problem in some
WinSocks.

[originally from svn r1004]
2001-03-15 13:25:48 +00:00
Simon Tatham
7b0e082700 Dave Hinton's modifications to the network layer interface, which
should make it possible to add SSL support later.

[originally from svn r996]
2001-03-13 10:22:45 +00:00
Simon Tatham
60585cff9c Yet another attempt at OOB handling in the network abstraction. This
version allows you to specify, per socket, which sockets receive OOB
data in-line (so that you know what was before the mark and what was
after) and which receive it out of line (so it's really a one-byte
out-of-band facility rather than discard-to-mark). This reflects the
fact that rlogin appears to make more sense in the latter mode, and
telnet in the former. This patch makes rlogin work right for me.

[originally from svn r921]
2001-02-01 14:11:04 +00:00
Simon Tatham
ee154f7ed3 Don't forget to read any outstanding data on receipt of FD_CLOSE.
Particularly useful for people speaking HTTP, Finger etc over raw
connections.

[originally from svn r913]
2001-01-29 15:10:56 +00:00
Simon Tatham
930fcdadeb Robert de Bath's TCP Urgent / Telnet SYNCH patch.
[originally from svn r912]
2001-01-29 14:49:21 +00:00
Simon Tatham
89505459e3 Improve socket error handling so that a socket error isn't an
automatic fatalbox(). Instead, the error is passed to the receiver
routine, which can decide just how fatal the problem really is.

[originally from svn r894]
2001-01-24 10:11:18 +00:00
Simon Tatham
4a339ef430 Add X11 forwarding, mainly thanks to Andreas Schultz
[originally from svn r878]
2001-01-22 11:34:52 +00:00
Simon Tatham
ca90be26a8 Experimental Rlogin support, thanks to Delian Delchev. Local flow
control is unsupported, and server-to-client comms may fail for want
of working TCP Urgent.

[originally from svn r875]
2001-01-19 10:10:37 +00:00
Simon Tatham
cd9bab9b52 Remove rogue debug statement
[originally from svn r855]
2001-01-11 13:19:11 +00:00
Simon Tatham
3f7bf81cf6 IPv4 numeric addresses were broken thanks to IPv6 patch
[originally from svn r854]
2001-01-09 17:25:06 +00:00
Simon Tatham
c57d524298 Jeroen Massar's IPv6 patch. Disabled by default, for now.
[originally from svn r849]
2001-01-07 19:16:16 +00:00
Simon Tatham
d3f120884c Apply improved WinSock error handling to the few situations it still
hadn't been applied to.

[originally from svn r827]
2000-12-18 09:20:26 +00:00
Simon Tatham
d5240d4157 Make memory management uniform: _everything_ now goes through the
smalloc() macros and thence to the safemalloc() functions in misc.c.
This should allow me to plug in a debugging allocator and track
memory leaks and segfaults and things.

[originally from svn r818]
2000-12-12 10:33:13 +00:00
Simon Tatham
8fff1e4821 Fix a segfault (addr->error was unpredictable following a dotted-dec lookup)
[originally from svn r768]
2000-10-26 08:25:43 +00:00
Simon Tatham
384eeb3f76 Fix miscellaneous compiler warnings. Thanks to Jacob Nevins
[originally from svn r755]
2000-10-24 10:47:49 +00:00
Simon Tatham
36156d858c Improved entropy gathering.
[originally from svn r750]
2000-10-23 15:20:05 +00:00
Simon Tatham
b5c41a473b Oops. A field like `sending_oob' in the Socket structure really
deserves to be initialised to something sane at creation time.

[originally from svn r748]
2000-10-23 12:31:54 +00:00
Simon Tatham
988c1974ea Created a shiny new abstraction for the socket handling. Has many
advantages:
 - protocol modules can call sk_write() without having to worry
   about writes blocking, because blocking writes are handled in the
   abstraction layer and retried later.
 - `Lost connection while sending' is a thing of the past.
 - <winsock.h> is no longer needed in most modules, because
   "putty.h" doesn't have to declare `SOCKET' variables any more,
   only the abstracted `Socket' type.
 - select()-equivalent between multiple sockets will now be handled
   sensibly, which opens the way for things like SSH port
   forwarding.

[originally from svn r745]
2000-10-23 11:55:11 +00:00