aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-30curl tool: Enable support for the SMB protocolBill Nagel
This patch enables SMB/CIFS support in the curl command-line tool.
2014-11-30smb.c: Fixed compilation warningsSteve Holme
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'
2014-11-30libcurl: Exclude SMB from the protocol redirectSteve Holme
As local files could be accessed through \\localhost\c$.
2014-11-30libcurl: Enable support for the SMB protocolBill Nagel
This patch enables SMB/CIFS support in libcurl.
2014-11-30smb.c: Fixed compilation warningsSteve Holme
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
2014-11-30smb.c: Renamed SMB command message variables to avoid compiler warningsSteve Holme
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
2014-11-30smb.c: Fixed compilation warningsSteve Holme
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'
2014-11-30smb.c: Fixed compilation warningsSteve Holme
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
2014-11-30smb.c: Fixed compilation warningsSteve Holme
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
2014-11-30smb: Added initial SMB functionalityBill Nagel
Initial implementation of the SMB/CIFS protocol.
2014-11-30smb: Added SMB handler interfacesBill Nagel
Added the SMB and SMBS handler interface structures and associated functions required for SMB/CIFS operation.
2014-11-30transfer: Code style policingSteve Holme
Prefer ! rather than NULL in if statements, added comments and updated function spacing, argument spacing and line spacing to be more readble.
2014-11-30transfer: Fixed existing scratch buffer being checked for NULL twiceSteve Holme
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.
2014-11-30smtp: Fixed dot stuffing being performed when no new data readSteve Holme
Whilst I had moved the dot stuffing code from being performed before CRLF conversion takes place to after it, in commit 4bd860a001, 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
2014-11-29smb.h: fixed picky compiler warningDaniel Stenberg
smb.h:30:16: error: comma at end of enumerator list [-Werror=pedantic]
2014-11-29tests: Disable test 1013 until SMB is fully addedSteve Holme
2014-11-29smb: Added SMB protocol and port definitionsBill Nagel
Added the necessary protocol and port definitions in order to support SMB/CIFS.
2014-11-29smb: Added internal SMB definitions and structuresBill Nagel
Added the internal definitions and structures necessary for SMB/CIFS support.
2014-11-29smb: Added SMB connection structureBill Nagel
Added the connection structure that will be required in urldata.h for SMB/CIFS based connections.
2014-11-29smb: Added initial source files for SMBBill Nagel
Added the initial source files and updated the relevant project files in order to support SMB/CIFS.
2014-11-29smb: Added configuration options for SMBBill Nagel
Added --enable-smb and --disable-smb configuration options for the upcoming SMB/CIFS protocol support.
2014-11-28runtests.pl: fix startup of IPv6 serversPeter Wu
Commit curl-7_23_1-143-g8218064 changed the parameter of responsive_http_server to accept types other than IPv6 (converting from a boolean to a string), but only considered the lower-case "ipv6" and not the "IPv6" variant. This caused all servers to start in IPv4 mode instead. This patch converts the remaining cases to "ipv6". While not strictly necessary for the run*server variants, these got also converted for consistency and to prevent future errors. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-11-28runtests.pl: fix warning message, remove duplicate valuePeter Wu
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-11-27http.c: Fixed compilation warnings from features being disabledSteve Holme
warning: unused variable 'data' warning: variable 'addcookies' set but not used ...and some very minor coding style policing.
2014-11-27RELEASE-NOTES: Synced with c5399c827dSteve Holme
2014-11-26tests: Added SMTP with --crlf test caseSteve Holme
2014-11-26docs: Updated for commit 4bd860a001 and SMTP Unix line ending conversionSteve Holme
2014-11-26smtp: Fixed const'ness of nread parameter in Curl_smtp_escape_eob()Steve Holme
...and some comment typos!
2014-11-26smtp: Added support for the conversion of Unix newlines during mail sendSteve Holme
Added support for the automatic conversion of Unix newlines to CRLF during mail uploads. Feature: http://curl.haxx.se/bug/view.cgi?id=1456
2014-11-25CURLOPT_CRLF.3: Fixed inclusion of SMTP in listed protocolsSteve Holme
2014-11-25curl*3: added small examplesDaniel Stenberg
and some minor edits
2014-11-25libcurl.3: fix formattingDaniel Stenberg
refer to functions with the man page section properly
2014-11-25man pages: SEE ALSO curl_multi_waitDaniel Stenberg
2014-11-25curl_multi_wait.3: clarify numfds being used if not NULLDaniel Stenberg
2014-11-25multi-single.c: switch to use curl_multi_waitDaniel Stenberg
Makes the example much easier and straight-forward!
2014-11-25testcurl: bump the version of this script!Daniel Stenberg
2014-11-25testcurl: skip reading the setup file if given enough cmdline infoDaniel Stenberg
This makes it much easier to run multiple tests in the same directory, just altering the command lines used.
2014-11-25select.c: fix compilation for VxWorksDaniel Stenberg
Reported-by: Brian Bug: http://curl.haxx.se/bug/view.cgi?id=1455
2014-11-24SSL: Add PEM format support for public key pinningmoparisthebest
2014-11-24Revert "repository: ignore patch files generated by git"Kamil Dudka
This reverts commit 217024a687ce86eb6d2317822ed81c7e5abc4b61. Bug: https://github.com/bagder/curl/commit/217024a6#commitcomment-8693738
2014-11-23multi.c: Fixed compilation warnings when no verbose string supportSteve Holme
warning: variable 'connection_id' set but not used warning: unused parameter 'lineno'
2014-11-23RELEASE-NOTES: Synced with 1450712e76Steve Holme
2014-11-23sasl: Tidied up some parameter commentsSteve Holme
2014-11-23sasl: Reduced the need for two sets of NTLM functionsSteve Holme
2014-11-23ntlm: Moved NSS initialisation to base decode functionSteve Holme
2014-11-23http_ntlm: Fixed additional NSS initialisation call when decoding type-2Steve Holme
After commit 48d19acb7c 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().
2014-11-23ntlm: Fixed static'ness of local decode functionSteve Holme
2014-11-23ntlm: Corrected some parameter names and commentsSteve Holme
2014-11-22runtests.pl: Re-aligned feature support commentsSteve Holme
2014-11-22runtests.pl: Use Kerberos and SPNEGO as proxies for the crypto featureSteve Holme
In addition to NTLM, use Kerberos and SPNEGO as proxies to the crypto feature. ...and converted tab characters, from commit 4b4e8a5853, to spaces.