History log of /curl/lib/imap.h (Results 26 – 50 of 61)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 51dbaae4 03-Mar-2013 Jiri Hruska

imap: Introduced IMAP_CUSTOM state


# 1383522e 01-Mar-2013 Jiri Hruska

imap: Introduced IMAP_APPEND and IMAP_APPEND_FINAL states


# 974c6634 28-Feb-2013 Jiri Hruska

imap: Introduced FETCH_FINAL state for processing final fetch responses

A typical FETCH response can be broken down into four parts:

1) "* <uid> FETCH (<what> {<size>}\r\n", using

imap: Introduced FETCH_FINAL state for processing final fetch responses

A typical FETCH response can be broken down into four parts:

1) "* <uid> FETCH (<what> {<size>}\r\n", using continuation syntax
2) <size> bytes of the actual message
3) ")\r\n", finishing the untagged response
4) "<tag> OK ...", finishing the command

Part 1 is read in imap_fetch_resp(), part 2 is consumed in the PERFORM
phase by the transfer subsystem, parts 3 and 4 are currently ignored.

show more ...


# 13006f3d 27-Feb-2013 Steve Holme

imap: Re-factored final IMAP_AUTHENTICATE constant

Changed the final IMAP_AUTHENTICATE constant to IMAP_AUTHENTICATE_FINAL
for consistency with the response function.


# d03aa161 27-Feb-2013 Jiri Hruska

imap: Introduced the mailbox variable

Added the mailbox variable to the per-connection structure in
preparation for checking for an already selected mailbox.


# aa44ec62 26-Feb-2013 Steve Holme

email: Slight reordering of connection based variables

Reordered the state and ssl_done variables in order to provide more
consistency between the email protocols as well as for for an u

email: Slight reordering of connection based variables

Reordered the state and ssl_done variables in order to provide more
consistency between the email protocols as well as for for an upcoming
change.

show more ...


# 05c03e7e 26-Feb-2013 Steve Holme

imap: Tidied up comments for connection based variables


# 58efa46a 26-Feb-2013 Jiri Hruska

imap: Introduced the mailbox_uidvalidity variable

Added the mailbox_uidvalidity variable to the per-connection structure
in preparation for checking the UIDVALIDITY mailbox attribute.


# 005ad9e6 25-Feb-2013 Jiri Hruska

imap: Removed bytecountp from the per-request structure

Removed this pointer to a downloaded bytes counter because it was set in
imap_init() to point to the same variable the transfer fu

imap: Removed bytecountp from the per-request structure

Removed this pointer to a downloaded bytes counter because it was set in
imap_init() to point to the same variable the transfer functions keep
the count in (k->bytecount), effectively making the code in transfer.c
"*k->bytecountp = k->bytecount" a no-op.

show more ...


# b6f32464 23-Feb-2013 Jiri Hruska

imap: Introduced new per-request veriables

Added uidvalidity, uid and section variables to the per-request IMAP
structure in preparation for upcoming URL parsing.


# 4afcb778 23-Feb-2013 Steve Holme

pingpong: Renamed curl_ftptransfer to curl_pp_transfer


# fcf02cbb 23-Feb-2013 Steve Holme

pingpong: Moved curl_ftptransfer definition to pingpong.h

Moved the ftp transfer structure into pingpong.h so other protocols that
require it don't have to include ftp.h.


# 13625a0d 23-Feb-2013 Jiri Hruska

imap: Removed some FTP heritage leftovers

Removed user and passwd from the IMAP struct as these cannot be set on
a per-request basis and are leftover from legacy FTP code.


# 2476b34b 23-Feb-2013 Jiri Hruska

imap: Introduced a custom IMAP structure for per-request data

Created a new IMAP structure and changed the type of the imap proto
variable in connectdata from FTP* to the new IMAP*.

imap: Introduced a custom IMAP structure for per-request data

Created a new IMAP structure and changed the type of the imap proto
variable in connectdata from FTP* to the new IMAP*.

Moved the mailbox variable from the per-connection struct imap_conn to
the new per-request struct and fixed references accordingly.

show more ...


# 85a2e9ec 10-Feb-2013 Steve Holme

email: Post STARTLS capability code tidy up (Part One)

Corrected the order of the CAPA / CAPABILITY state machine constants to
match the execution order.


# a1701eea 10-Feb-2013 Steve Holme

imap: Added support for the STARTTLS capability (Part One)

Introduced detection of the STARTTLS capability, in order to add support
for TLS upgrades without unconditionally sending the S

imap: Added support for the STARTTLS capability (Part One)

Introduced detection of the STARTTLS capability, in order to add support
for TLS upgrades without unconditionally sending the STARTTLS command.

show more ...


# 86dfcf73 07-Feb-2013 Steve Holme

imap: Added support for SASL-IR extension (Part 1)

Introduced detection of the SASL-IR capability, in order to add support
for sending the initial response with the AUTHENTICATE command,

imap: Added support for SASL-IR extension (Part 1)

Introduced detection of the SASL-IR capability, in order to add support
for sending the initial response with the AUTHENTICATE command, as per
RFC4959.

show more ...


# 7704621f 07-Feb-2013 Steve Holme

imap: Changed response tag generation to be completely unique

Updated the automatic response tag generation to follow the examples
given in RC3501, which list a 4 character string such a

imap: Changed response tag generation to be completely unique

Updated the automatic response tag generation to follow the examples
given in RC3501, which list a 4 character string such as A001, A002,
etc.

As a unique identifier should be generated for each command the string
generation is based on the connection id and the incrementing command
id.

show more ...


# cecb9c0f 06-Feb-2013 Steve Holme

imap: Small variable rename in preparation for upcoming change

Renamed a couple of variables and updated some comments in
preparation for upcoming command id / response tag change.


Revision tags: curl-7_29_0
# 33a182e6 05-Feb-2013 Steve Holme

imap.h: Corrected incorrect comment clarification

Corrected comment clarification made in commit 167717b8069a.


# b4270a9a 03-Feb-2013 Steve Holme

imap: Fixed no known authentication mechanism when fallback is required

Fixed an issue where (lib)curl is compiled without support for a
supported challenge-response based SASL authentic

imap: Fixed no known authentication mechanism when fallback is required

Fixed an issue where (lib)curl is compiled without support for a
supported challenge-response based SASL authentication mechanism, such
as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
mechanisms and (lib)curl doesn't fallback to Clear Text authentication.

Note: In order to fallback to Clear Text authentication properly this
fix adds support for the LOGINDISABLED server capability.
imap: Fixed no known authentication mechanism when fallback is required

Fixed an issue where (lib)curl is compiled without support for a
supported challenge-response based SASL authentication mechanism, such
as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
mechanisms and (lib)curl doesn't fallback to Clear Text authentication.

Note: In order to fallback to Clear Text authentication properly this
fix adds support for the LOGINDISABLED server capability.

Related bug: http://curl.haxx.se/mail/lib-2013-02/0004.html
Reported by: Stanislav Ivochkin

show more ...


# 73fae581 26-Jan-2013 Steve Holme

email: Updated comment regarding ssldone usage

Updated the ssldone comment as multi mode is always used internally now.


# fd3efca1 07-Jan-2013 Steve Holme

imap: Added support for sasl digest-md5 authentication


# 825677ad 07-Jan-2013 Steve Holme

imap: Added support for sasl cram-md5 authentication


# f6e33cf6 07-Jan-2013 Steve Holme

imap: Added support for sasl ntlm authentication


123