Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						f390c8e02d 
					 
					
						
						
							
							fix comments, moved to htonu64 function to sftp.c and made it static  
						
						 
						
						
						
						
					 
					
						2009-03-27 07:03:00 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						9df891e412 
					 
					
						
						
							
							More cleaning up converting libssh2_ to _libssh2_ for internal functions and  
						
						 
						
						... 
						
						
						
						removing libssh2_ from static functions. Added mac.h. 
						
						
					 
					
						2009-03-26 22:25:23 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						fc28f33384 
					 
					
						
						
							
							comp.c only as a single _libssh2_ function, no external one  
						
						 
						
						
						
						
					 
					
						2009-03-26 22:09:35 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						eabe072496 
					 
					
						
						
							
							* Renamed the functions in src/transport.c to be _libssh2_transport_ prefixed  
						
						 
						
						... 
						
						
						
						and introduced a transport.h header.
* Fixed the blocking mode to only change behavior not the actual underlying
  socket mode so we now always work with non-blocking sockets. This also
  introduces a new rule of thumb in libssh2 code: we don't call the
  external function calls internally. We use the internal (non-blocking)
  ones!
* libssh2_channel_receive_window_adjust2 was added and
  libssh2_channel_receive_window_adjust is now deprecated
* Introduced "local" header files with prototypes etc for different parts
  instead of cramming everything into libssh2_priv.h. channel.h is the
  first. 
						
						
					 
					
						2009-03-26 15:41:14 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						239bdffb59 
					 
					
						
						
							
							avoid some busy-looping  
						
						 
						
						
						
						
					 
					
						2009-03-25 22:52:32 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						bab3a30220 
					 
					
						
						
							
							one function to remove, one proto to correct  
						
						 
						
						
						
						
					 
					
						2009-03-23 13:54:16 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						2e548c1ca0 
					 
					
						
						
							
							Updated comments and removed "libssh2_" prefixes from static functions  
						
						 
						
						
						
						
					 
					
						2009-03-23 13:35:20 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						1e1ba6219e 
					 
					
						
						
							
							added basic docs  
						
						 
						
						
						
						
					 
					
						2009-03-23 13:20:48 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						27d74a7bd5 
					 
					
						
						
							
							quite possibly one of the most pointless functions in the libssh2 API...a  
						
						 
						
						
						
						
					 
					
						2009-03-23 13:17:49 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						3d97a87669 
					 
					
						
						
							
							ENOTCONN obviously doesn't exist in win32 so don't try to map that  
						
						 
						
						
						
						
					 
					
						2009-03-23 13:08:17 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						022cac8510 
					 
					
						
						
							
							[no comment]  
						
						 
						
						
						
						
					 
					
						2009-03-23 12:53:50 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						d187a0fdb6 
					 
					
						
						
							
							EEK revert the part of the previous commit that was just my non-functional  
						
						 
						
						... 
						
						
						
						attempts to make things work with blocking sockets. 
						
						
					 
					
						2009-03-23 12:51:53 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						1936d167d1 
					 
					
						
						
							
							I cut out the poll_socket argument from the protos for_libssh2_packet_askv()  
						
						 
						
						... 
						
						
						
						and _libssh2_packet_ask() since they are internal and nothing in the code base
uses that functionality == simplicity with no drawbacks! 
						
						
					 
					
						2009-03-23 12:43:59 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						26b65e06b1 
					 
					
						
						
							
							pass in unsigned ints for u32 values and not longs  
						
						 
						
						
						
						
					 
					
						2009-03-19 12:54:58 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						468272d648 
					 
					
						
						
							
							- (Mar 19 2009) Daniel Stenberg: based on a patch by "E L" we now use errno  
						
						 
						
						... 
						
						
						
						properly after recv() and send() calls (that internally are now known as
  _libssh2_recv() and _libssh2_send()) so that the API and more works fine on
  windows too! 
						
						
					 
					
						2009-03-19 12:45:59 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						563f627647 
					 
					
						
						
							
							I'm upgrading myself!  
						
						 
						
						
						
						
					 
					
						2009-03-18 13:11:28 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Josefsson 
							
						 
					 
					
						
						
							
						
						872a6e28dc 
					 
					
						
						
							
							Add StrictModes=no to work around cygwin problem.  
						
						 
						
						... 
						
						
						
						Reported by Yang Tse <yangsita@gmail.com >. 
						
						
					 
					
						2009-03-17 19:07:35 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Josefsson 
							
						 
					 
					
						
						
							
						
						fa5509d9f2 
					 
					
						
						
							
							Add UsePrivilegeSeparation=no for cygwin.  
						
						 
						
						... 
						
						
						
						Reported by Yang Tse <yangsita@gmail.com > 
						
						
					 
					
						2009-03-17 17:25:42 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						53ad07633e 
					 
					
						
						
							
							re-indented for clarity  
						
						 
						
						
						
						
					 
					
						2009-03-17 14:58:24 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						0b7f20566c 
					 
					
						
						
							
							re-indented _libssh2_channel_packet_data_len() somewhat to make the huge  
						
						 
						
						... 
						
						
						
						condition somewhat easier on the eye 
						
						
					 
					
						2009-03-17 14:44:38 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						cc5e952fa0 
					 
					
						
						
							
							A cleanup effort: libssh2_ prefixes only on external APIs. Use _libssh2_ prefix  
						
						 
						
						... 
						
						
						
						for library-wide internal functions. Don't use any of those on static functions.
I also did some comments and whitespace changes. 
						
						
					 
					
						2009-03-17 13:48:35 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						f2fa02c575 
					 
					
						
						
							
							bump packet default size to 32768  
						
						 
						
						
						
						
					 
					
						2009-03-17 12:09:53 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						0dbc6ed8b6 
					 
					
						
						
							
							Refer to the exact symbol name, which also is the exact file name of the man  
						
						 
						
						... 
						
						
						
						page file. 
						
						
					 
					
						2009-03-17 10:34:27 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Josefsson 
							
						 
					 
					
						
						
							
						
						c7a1d30590 
					 
					
						
						
							
							Use libtool -export-symbols-regex to reduce numer of exported symbols.  
						
						 
						
						
						
						
					 
					
						2009-03-17 10:19:54 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						8096b459d4 
					 
					
						
						
							
							cleanup round  
						
						 
						
						
						
						
					 
					
						2009-03-16 23:25:14 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						7ef3406b57 
					 
					
						
						
							
							Added (templates for) the 13 missing man pages  
						
						 
						
						
						
						
					 
					
						2009-03-16 15:00:45 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						d870042496 
					 
					
						
						
							
							two more renaming of man pages to the actual function name  
						
						 
						
						
						
						
					 
					
						2009-03-16 14:40:37 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						27355c740f 
					 
					
						
						
							
							rename the man page to use the same name as the actual function  
						
						 
						
						
						
						
					 
					
						2009-03-16 14:28:37 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						f8ad00e6ae 
					 
					
						
						
							
							mention the basic changes in my previous few commits  
						
						 
						
						
						
						
					 
					
						2009-03-16 08:23:54 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						94090cf55c 
					 
					
						
						
							
							Patch from bug report  #1960894  by "Heiner" applied, and edited by me. It makes  
						
						 
						
						... 
						
						
						
						SCP recv and send deal with file names containing spaces (and other
shell-special letters) by quoting them before they are passed to the remote
server. 
						
						
					 
					
						2009-03-15 23:28:25 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						ce9d44a3ff 
					 
					
						
						
							
							fixed some wrong comments and did a minor code edit and some further  
						
						 
						
						... 
						
						
						
						whitespace changes 
						
						
					 
					
						2009-03-15 23:07:09 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						a678dbac06 
					 
					
						
						
							
							added three more public functions I found lacking man pages  
						
						 
						
						
						
						
					 
					
						2009-03-15 22:59:46 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						0812744424 
					 
					
						
						
							
							fix a compiler warning  
						
						 
						
						
						
						
					 
					
						2009-03-15 22:40:11 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						f56b8ef605 
					 
					
						
						
							
							simplified how the "scp" command line is created in the libssh2_scp_recv()  
						
						 
						
						... 
						
						
						
						function 
						
						
					 
					
						2009-03-15 22:38:47 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						1a630c5c09 
					 
					
						
						
							
							Simplified libssh2_channel_read_ex() and made it send window adjustments less  
						
						 
						
						... 
						
						
						
						frequent, use a few less struct fields in the channel struct and improved
reading from the network with libssh2_packet_read(). I also modified the
windowing algorithm and now use a much larger window. This greatly enhances
SSH/SCP performance. I also increased the size of the buffer the transport
layer uses from 4k to 16K. 
						
						
					 
					
						2009-03-15 22:29:23 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						3793b6768d 
					 
					
						
						
							
							oops, use %06d for the microseconds!  
						
						 
						
						
						
						
					 
					
						2009-03-14 23:04:25 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						269bd5e9a4 
					 
					
						
						
							
							re-indented and other whitespace edits  
						
						 
						
						
						
						
					 
					
						2009-03-14 22:29:48 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						d7566e5065 
					 
					
						
						
							
							improved trace logs with time stamps  
						
						 
						
						
						
						
					 
					
						2009-03-14 22:29:28 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						bdd005a5e5 
					 
					
						
						
							
							fixed to work quite similar to the sftp_nonblock example so that it waits  
						
						 
						
						... 
						
						
						
						for the socket correctly and measures the transfer speed fine 
						
						
					 
					
						2009-03-14 09:40:57 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						a52f5d3b7e 
					 
					
						
						
							
							Cleanups, that do seem to have boosted SFTP download performance up to 300% in  
						
						 
						
						... 
						
						
						
						some tests:
  * cut off "_ex" from several internal function names
  * corrected some log outputs
  * simplified libssh2_channel_read_ex() and made it much faster in the process
  * cut out {{{ and }}} comments that were incorrect anyway
  * fixed sftp_packet_ask() to return the correct packet by using memcmp() and
    not strncmp()
  * fixed mkdir()'s wait for packet to use the correct request_id - it
    semi-worked previously because strncmp() in sftp_packet_ask() made it
    match far too easily.
  * took away the polling functionality from sftp_packet_ask() since it wasn't
    used 
						
						
					 
					
						2009-03-13 22:15:27 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						d89782d99f 
					 
					
						
						
							
							improved non-blocking behavior for some of the initing stuff before the actual  
						
						 
						
						... 
						
						
						
						data transfer begins 
						
						
					 
					
						2009-03-13 22:14:47 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						2ba8db9168 
					 
					
						
						
							
							wait for socket action accordingly, and do some measurements on the transfer  
						
						 
						
						... 
						
						
						
						to make this better to use for speed tests 
						
						
					 
					
						2009-03-13 12:35:13 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						5f32304805 
					 
					
						
						
							
							- (Mar 7 2009) Olivier Hervieu pointed out a flaw in the  
						
						 
						
						... 
						
						
						
						libssh2_channel_x11_req_ex() function that made it produce a crappy random
  chunk of data. Peter Stuge improved the fix to not do out-of-boundary
  writes. I (Daniel Stenberg) replaced the snprintf() with a plain sprintf()
  since the size argument wasn't adding anything anyway. 
						
						
					 
					
						2009-03-07 22:08:05 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Guenter Knauf 
							
						 
					 
					
						
						
							
						
						16941e1fcf 
					 
					
						
						
							
							some minor Makefile tweaks.  
						
						 
						
						
						
						
					 
					
						2009-03-06 07:25:37 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						663da93b42 
					 
					
						
						
							
							- Added libssh2_version()  
						
						 
						
						
						
						
					 
					
						2009-02-23 16:22:46 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						1addcbbf53 
					 
					
						
						
							
							- (Feb 20 2009) libssh2_channel_direct_tcpip_ex() bug  #1902169  fixed, which  
						
						 
						
						... 
						
						
						
						caused it to fail when called a second time. 
						
						
					 
					
						2009-02-20 16:14:45 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mikhail Gusarov 
							
						 
					 
					
						
						
							
						
						d722e09196 
					 
					
						
						
							
							Fixed dash-as-minus warning in libssh2_base64_decode.3 manpage  
						
						 
						
						
						
						
					 
					
						2009-02-17 16:22:51 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mikhail Gusarov 
							
						 
					 
					
						
						
							
						
						317740415a 
					 
					
						
						
							
							Fixed syntax error in libssh2_banner_set.3 manpage  
						
						 
						
						
						
						
					 
					
						2009-02-17 16:22:17 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Josefsson 
							
						 
					 
					
						
						
							
						
						558de5e103 
					 
					
						
						
							
							Bump ABI revision from 1.0.0 to 1.0.1 due to code changes.  
						
						 
						
						
						
						
					 
					
						2009-02-16 21:49:31 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Josefsson 
							
						 
					 
					
						
						
							
						
						74aad1869d 
					 
					
						
						
							
							Fix typo.  
						
						 
						
						
						
						
					 
					
						2009-02-16 21:48:22 +00:00