- Nov 30, 2014
-
-
Daniel Stenberg authored
This fixes warnings about conversions to int
-
Steve Holme authored
smb.c:398: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'unsigned long' smb.c:443: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'unsigned long'
-
Steve Holme authored
As local files could be accessed through \\localhost\c$.
-
Bill Nagel authored
This patch enables SMB/CIFS support in libcurl.
-
Steve Holme authored
smb.c:322: warning: conversion to 'short unsigned int' from 'unsigned int' may alter its value smb.c:323: warning: conversion to 'short unsigned int' from 'unsigned int' may alter its value smb.c:482: warning: conversion to 'short unsigned int' from 'int' may alter its value smb.c:521: warning: conversion to 'unsigned int' from 'curl_off_t' may alter its value smb.c:549: warning: conversion to 'unsigned int' from 'curl_off_t' may alter its value smb.c:550: warning: conversion to 'short unsigned int' from 'int' may alter its value
-
Steve Holme authored
smb.c:489: warning: declaration of 'close' shadows a global declaration smb.c:511: warning: declaration of 'read' shadows a global declaration smb.c:528: warning: declaration of 'write' shadows a global declaration
-
Steve Holme authored
smb.c:212: warning: unused parameter 'done' smb.c:380: warning: ISO C does not allow extra ';' outside of a function smb.c:812: warning: unused parameter 'premature' smb.c:822: warning: unused parameter 'dead'
-
Steve Holme authored
smb.c:311: warning: conversion from 'unsigned __int64' to 'u_short', possible loss of data smb.c:425: warning: conversion from '__int64' to 'unsigned short', possible loss of data smb.c:452: warning: conversion from '__int64' to 'unsigned short', possible loss of data
-
Steve Holme authored
smb.c:162: error: comma at end of enumerator list smb.c:469: warning: conversion from 'size_t' to 'unsigned short', possible loss of data smb.c:517: warning: conversion from 'curl_off_t' to 'unsigned int', possible loss of data smb.c:545: warning: conversion from 'curl_off_t' to 'unsigned int', possible loss of data
-
Bill Nagel authored
Initial implementation of the SMB/CIFS protocol.
-
Bill Nagel authored
Added the SMB and SMBS handler interface structures and associated functions required for SMB/CIFS operation.
-
Steve Holme authored
Prefer ! rather than NULL in if statements, added comments and updated function spacing, argument spacing and line spacing to be more readble.
-
Steve Holme authored
If the scratch buffer already existed when the CRLF conversion was performed then the buffer pointer would be checked twice for NULL. This second check is only necessary if the call to malloc() was performed by the first check.
-
Steve Holme authored
Whilst I had moved the dot stuffing code from being performed before CRLF conversion takes place to after it, in commit 4bd860a0, I had moved it outside the 'when something read' block of code when meant it could perform the dot stuffing twice on partial send if nread happened to contain the right values. It also meant the function could potentially read past the end of buffer. This was highlighted by the following warning: warning: `nread' might be used uninitialized in this function
-
- Nov 29, 2014
-
-
Daniel Stenberg authored
smb.h:30:16: error: comma at end of enumerator list [-Werror=pedantic]
-
Bill Nagel authored
Added the necessary protocol and port definitions in order to support SMB/CIFS.
-
Bill Nagel authored
Added the internal definitions and structures necessary for SMB/CIFS support.
-
Bill Nagel authored
Added the connection structure that will be required in urldata.h for SMB/CIFS based connections.
-
Bill Nagel authored
Added the initial source files and updated the relevant project files in order to support SMB/CIFS.
-
- Nov 27, 2014
-
-
Steve Holme authored
warning: unused variable 'data' warning: variable 'addcookies' set but not used ...and some very minor coding style policing.
-
- Nov 26, 2014
-
-
Steve Holme authored
...and some comment typos!
-
Steve Holme authored
Added support for the automatic conversion of Unix newlines to CRLF during mail uploads. Feature: http://curl.haxx.se/bug/view.cgi?id=1456
-
- Nov 25, 2014
-
-
Daniel Stenberg authored
Reported-by: Brian Bug: http://curl.haxx.se/bug/view.cgi?id=1455
-
- Nov 24, 2014
-
-
Travis Burtrum authored
-
- Nov 23, 2014
-
-
Steve Holme authored
warning: variable 'connection_id' set but not used warning: unused parameter 'lineno'
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
After commit 48d19acb the HTTP code would call Curl_nss_force_init() twice when decoding a NTLM type-2 message, once directly and the other through the call to Curl_sasl_decode_ntlm_type2_message().
-
Steve Holme authored
-
Steve Holme authored
-
- Nov 20, 2014
-
-
Daniel Stenberg authored
-
Tatsuhiro Tsujikawa authored
This commit disables pipelining for HTTP/2 or upgraded connections. For HTTP/2, we do not support multiplexing. In general, requests cannot be pipelined in an upgraded connection, since it is now different protocol.
-
- Nov 19, 2014
-
-
Steve Holme authored
-
Jon Spencer authored
When the connection code decides to close a socket it informs the multi system via the Curl_multi_closed function. The multi system may, in turn, invoke the CURLMOPT_SOCKETFUNCTION function with CURL_POLL_REMOVE. This happens after the socket has already been closed. Reorder the code so that CURL_POLL_REMOVE is called before the socket is closed.
-
Guenter Knauf authored
Moved target autodetection block after defining CC macro.
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Nov 18, 2014
-
-
Carlo Wood authored
Debug output 'typo' fix. Don't print an extra "0x" in * Pipe broke: handle 0x0x2546d88, url = / Add debug output. Print the number of connections in the connection cache when adding one, and not only when one is removed. Fix typos in comments.
-
Daniel Stenberg authored
... as it was before I changed the loop in commit e04ccbd5. It caused test 2030 and 2032 to fail.
-