mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Requested fixes from pull request.
This commit is contained in:
parent
a53d6f3607
commit
d121265f9f
3 changed files with 17 additions and 23 deletions
36
etc/c/curl.d
36
etc/c/curl.d
|
@ -822,7 +822,7 @@ enum CurlOption {
|
||||||
/** Time to use with the above condition. Specified in number of seconds
|
/** Time to use with the above condition. Specified in number of seconds
|
||||||
since 1 Jan 1970 */
|
since 1 Jan 1970 */
|
||||||
timevalue,
|
timevalue,
|
||||||
/** 35 = OBSOLETE */
|
/* 35 = OBSOLETE */
|
||||||
|
|
||||||
/** Custom request, for customizing the get command like
|
/** Custom request, for customizing the get command like
|
||||||
HTTP: DELETE, TRACE and others
|
HTTP: DELETE, TRACE and others
|
||||||
|
@ -831,7 +831,7 @@ enum CurlOption {
|
||||||
customrequest = 10036,
|
customrequest = 10036,
|
||||||
/** HTTP request, for odd commands like DELETE, TRACE and others */
|
/** HTTP request, for odd commands like DELETE, TRACE and others */
|
||||||
stderr,
|
stderr,
|
||||||
/** 38 is not used */
|
/* 38 is not used */
|
||||||
|
|
||||||
/** send linked-list of post-transfer QUOTE commands */
|
/** send linked-list of post-transfer QUOTE commands */
|
||||||
postquote = 10039,
|
postquote = 10039,
|
||||||
|
@ -853,7 +853,7 @@ enum CurlOption {
|
||||||
followlocation, /** use Location: Luke! */
|
followlocation, /** use Location: Luke! */
|
||||||
transfertext, /** transfer data in text/ASCII format */
|
transfertext, /** transfer data in text/ASCII format */
|
||||||
put, /** HTTP PUT */
|
put, /** HTTP PUT */
|
||||||
/** 55 = OBSOLETE */
|
/* 55 = OBSOLETE */
|
||||||
|
|
||||||
/** Function that will be called instead of the internal progress display
|
/** Function that will be called instead of the internal progress display
|
||||||
* function. This function should be defined as the curl_progress_callback
|
* function. This function should be defined as the curl_progress_callback
|
||||||
|
@ -881,10 +881,8 @@ enum CurlOption {
|
||||||
/** The CApath or CAfile used to validate the peer certificate
|
/** The CApath or CAfile used to validate the peer certificate
|
||||||
this option is used only if SSL_VERIFYPEER is true */
|
this option is used only if SSL_VERIFYPEER is true */
|
||||||
cainfo = 10065,
|
cainfo = 10065,
|
||||||
/** $(UL
|
/* 66 = OBSOLETE */
|
||||||
$(LI 66 = OBSOLETE )
|
/* 67 = OBSOLETE */
|
||||||
$(LI 67 = OBSOLETE )
|
|
||||||
) */
|
|
||||||
|
|
||||||
/** Maximum number of http redirects to follow */
|
/** Maximum number of http redirects to follow */
|
||||||
maxredirs = 68,
|
maxredirs = 68,
|
||||||
|
@ -898,7 +896,7 @@ enum CurlOption {
|
||||||
/** What policy to use when closing connections when the cache is filled
|
/** What policy to use when closing connections when the cache is filled
|
||||||
up */
|
up */
|
||||||
closepolicy,
|
closepolicy,
|
||||||
/** 73 = OBSOLETE */
|
/* 73 = OBSOLETE */
|
||||||
|
|
||||||
/** Set to explicitly use a new connection for the upcoming transfer.
|
/** Set to explicitly use a new connection for the upcoming transfer.
|
||||||
Do not use this unless you're absolutely sure of this, as it makes the
|
Do not use this unless you're absolutely sure of this, as it makes the
|
||||||
|
@ -1055,15 +1053,13 @@ enum CurlOption {
|
||||||
postfieldsize_large = 30120,
|
postfieldsize_large = 30120,
|
||||||
/** Enable/disable the TCP Nagle algorithm */
|
/** Enable/disable the TCP Nagle algorithm */
|
||||||
tcp_nodelay = 121,
|
tcp_nodelay = 121,
|
||||||
/** $(UL
|
/* 122 OBSOLETE, used in 7.12.3. Gone in 7.13.0 */
|
||||||
$(LI 122 OBSOLETE, used in 7.12.3. Gone in 7.13.0 )
|
/* 123 OBSOLETE. Gone in 7.16.0 */
|
||||||
$(LI 123 OBSOLETE. Gone in 7.16.0 )
|
/* 124 OBSOLETE, used in 7.12.3. Gone in 7.13.0 */
|
||||||
$(LI 124 OBSOLETE, used in 7.12.3. Gone in 7.13.0 )
|
/* 125 OBSOLETE, used in 7.12.3. Gone in 7.13.0 */
|
||||||
$(LI 125 OBSOLETE, used in 7.12.3. Gone in 7.13.0 )
|
/* 126 OBSOLETE, used in 7.12.3. Gone in 7.13.0 */
|
||||||
$(LI 126 OBSOLETE, used in 7.12.3. Gone in 7.13.0 )
|
/* 127 OBSOLETE. Gone in 7.16.0 */
|
||||||
$(LI 127 OBSOLETE. Gone in 7.16.0 )
|
/* 128 OBSOLETE. Gone in 7.16.0 */
|
||||||
$(LI 128 OBSOLETE. Gone in 7.16.0 )
|
|
||||||
) */
|
|
||||||
|
|
||||||
/** When FTP over SSL/TLS is selected (with CURLOPT_USE_SSL), this option
|
/** When FTP over SSL/TLS is selected (with CURLOPT_USE_SSL), this option
|
||||||
can be used to change libcurl's default action which is to first try
|
can be used to change libcurl's default action which is to first try
|
||||||
|
@ -1078,10 +1074,8 @@ enum CurlOption {
|
||||||
ftpsslauth = 129,
|
ftpsslauth = 129,
|
||||||
ioctlfunction = 20130, ///
|
ioctlfunction = 20130, ///
|
||||||
ioctldata = 10131, ///
|
ioctldata = 10131, ///
|
||||||
/** $(UL
|
/* 132 OBSOLETE. Gone in 7.16.0 */
|
||||||
$(LI 132 OBSOLETE. Gone in 7.16.0 )
|
/* 133 OBSOLETE. Gone in 7.16.0 */
|
||||||
$(LI 133 OBSOLETE. Gone in 7.16.0 )
|
|
||||||
) */
|
|
||||||
|
|
||||||
/** zero terminated string for pass on to the FTP server when asked for
|
/** zero terminated string for pass on to the FTP server when asked for
|
||||||
"account" info */
|
"account" info */
|
||||||
|
|
|
@ -1986,7 +1986,7 @@ if (is(Unqual!T == bool))
|
||||||
_store._backend.length = _store._backend.length - 1;
|
_store._backend.length = _store._backend.length - 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
///ditto
|
/// ditto
|
||||||
alias stableRemoveBack = removeBack;
|
alias stableRemoveBack = removeBack;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2160,8 +2160,8 @@ struct TimeVal
|
||||||
/**
|
/**
|
||||||
* A collection of sockets for use with $(D Socket.select).
|
* A collection of sockets for use with $(D Socket.select).
|
||||||
*
|
*
|
||||||
* $(D fd_set), $(D SocketSet) is not statically limited to $(D FD_SETSIZE)
|
|
||||||
* $(D SocketSet) wraps the platform $(D fd_set) type. However, unlike
|
* $(D SocketSet) wraps the platform $(D fd_set) type. However, unlike
|
||||||
|
* $(D fd_set), $(D SocketSet) is not statically limited to $(D FD_SETSIZE)
|
||||||
* or any other limit, and grows as needed.
|
* or any other limit, and grows as needed.
|
||||||
*/
|
*/
|
||||||
class SocketSet
|
class SocketSet
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue