#
e6b7dae9 |
| 03-Mar-2013 |
Jiri Hruska |
imap: Added required mailbox check for FETCH and APPEND commands
|
#
b1ebf4bd |
| 03-Mar-2013 |
Steve Holme |
imap: Fixed typo in variable assignment
|
#
284ea5f9 |
| 03-Mar-2013 |
Jiri Hruska |
imap: Fixed custom request handling in imap_done() Fixed imap_done() so that neither the FINAL states are not entered when a custom command has been performed.
|
#
c03cad3a |
| 03-Mar-2013 |
Jiri Hruska |
imap: Enabled custom requests in imap_select_resp() Changed imap_select_resp() to invoke imap_custom() instead of imap_fetch() after the mailbox has been selected if a custom command
imap: Enabled custom requests in imap_select_resp() Changed imap_select_resp() to invoke imap_custom() instead of imap_fetch() after the mailbox has been selected if a custom command has been set.
show more ...
|
#
ad8b76d0 |
| 03-Mar-2013 |
Jiri Hruska |
imap: Enabled custom requests in imap_perform() Modified imap_perform() to start with the custom command instead of SELECT when a custom command is to be performed and no mailbox has
imap: Enabled custom requests in imap_perform() Modified imap_perform() to start with the custom command instead of SELECT when a custom command is to be performed and no mailbox has been given.
show more ...
|
#
226c1c68 |
| 03-Mar-2013 |
Jiri Hruska |
imap: Added custom request perform and response handler functions Added imap_custom(), which initiates the custom command processing, and an associated response handler imap_state_custom
imap: Added custom request perform and response handler functions Added imap_custom(), which initiates the custom command processing, and an associated response handler imap_state_custom_resp(), which handles any responses by sending them to the client as body data. All untagged responses with the same name as the first word of the custom request string are accepted, with the exception of SELECT and EXAMINE which have responses that cannot be easily identified. An extra check has been provided for them so that any untagged responses are accepted for them.
show more ...
|
#
ee703480 |
| 03-Mar-2013 |
Jiri Hruska |
imap: Added custom request parsing Added imap_parse_custom_request() for parsing the CURLOPT_CUSTOMREQUEST parameter which URL decodes the value and separates the request from any pa
imap: Added custom request parsing Added imap_parse_custom_request() for parsing the CURLOPT_CUSTOMREQUEST parameter which URL decodes the value and separates the request from any parameters - This makes it easier to filter untagged responses by the request command.
show more ...
|
#
1d3ccf27 |
| 03-Mar-2013 |
Jiri Hruska |
imap: Introduced custom request parameters Added custom request parameters to the per-request structure.
|
#
51dbaae4 |
| 03-Mar-2013 |
Jiri Hruska |
imap: Introduced IMAP_CUSTOM state
|
#
dcffd936 |
| 02-Mar-2013 |
Steve Holme |
imap: Minor code tidy up Minor tidy up of code layout and comments following recent changes.
|
#
e94fbcab |
| 02-Mar-2013 |
Steve Holme |
imap: Simplified the imap_state_append_resp() function Introduced the result code variable to simplify the state changes and remove the hard returns.
|
#
ec38ac38 |
| 02-Mar-2013 |
Steve Holme |
imap: Changed successful response logic in imap_state_append_resp() For consistency changed the logic of the imap_state_append_resp() function to test for an unsucessful continuation res
imap: Changed successful response logic in imap_state_append_resp() For consistency changed the logic of the imap_state_append_resp() function to test for an unsucessful continuation response rather than a succesful one.
show more ...
|
#
0f64dd08 |
| 02-Mar-2013 |
Steve Holme |
imap: Standardised imapcode condition tests For consistency changed two if(constant != imapcode) tests to be if(imapcode != constant).
|
#
459e1bff |
| 02-Mar-2013 |
Steve Holme |
imap: Moved imap_append() to be with the other perform functions
|
#
7b471fb3 |
| 01-Mar-2013 |
Jiri Hruska |
imap: Enabled APPEND support in imap_perform() Added logic in imap_perform() to perform an APPEND rather than SELECT and FETCH if an upload has been specified.
|
#
f8c8c76d |
| 01-Mar-2013 |
Jiri Hruska |
imap: Implemented APPEND final processing The APPEND operation needs to be performed in several steps: 1) We send "<tag> APPEND <mailbox> <flags> {<size>}\r\n" 2) Server responds
imap: Implemented APPEND final processing The APPEND operation needs to be performed in several steps: 1) We send "<tag> APPEND <mailbox> <flags> {<size>}\r\n" 2) Server responds with continuation respose "+ ...\r\n" 3) We start the transfer and send <size> bytes of data 4) Only now we end the request command line by sending "\r\n" 5) Server responds with "<tag> OK ...\r\n" This commit performs steps 4 and 5, in the DONE phase, as more processing is required after the transfer.
show more ...
|
#
90b7d0ea |
| 01-Mar-2013 |
Jiri Hruska |
imap: Added APPEND perform and response handler functions Added imap_append() function to initiate upload and imap_append_resp() to handle the continuation response and start the transfe
imap: Added APPEND perform and response handler functions Added imap_append() function to initiate upload and imap_append_resp() to handle the continuation response and start the transfer.
show more ...
|
#
1383522e |
| 01-Mar-2013 |
Jiri Hruska |
imap: Introduced IMAP_APPEND and IMAP_APPEND_FINAL states
|
#
d46d107e |
| 01-Mar-2013 |
Jiri Hruska |
imap: Updated setting of transfer variables in imap_state_fetch_resp() Add number of bytes retrieved from the PP cache to req.bytecount and set req.maxdownload only when starting a prope
imap: Updated setting of transfer variables in imap_state_fetch_resp() Add number of bytes retrieved from the PP cache to req.bytecount and set req.maxdownload only when starting a proper download.
show more ...
|
#
25884aa1 |
| 01-Mar-2013 |
Jiri Hruska |
imap: Improved FETCH response parsing Added safer parsing of the untagged FETCH response line and the size of continuation data.
|
#
be51a463 |
| 28-Feb-2013 |
Steve Holme |
imap: Fixed accidentally lossing the result code Accidentally lost the result code in imap_state_capability() and imap_state_login() with commit b06a78622609.
|
#
48596f87 |
| 28-Feb-2013 |
Steve Holme |
imap: Another minor comment addition / tidy up
|
#
b06a7862 |
| 28-Feb-2013 |
Steve Holme |
imap: Updated the coding style for state changes after a send operation Some state changes would be performed after a failure test that performed a hard return, whilst others would be pe
imap: Updated the coding style for state changes after a send operation Some state changes would be performed after a failure test that performed a hard return, whilst others would be performed within a test for success. Updated the code, for consistency, so all instances are performed within a success test.
show more ...
|
#
10549ee0 |
| 28-Feb-2013 |
Jiri Hruska |
imap: FETCH response handler cleanup before further changes Removed superfluous NULL assignment after Curl_safefree() and rewrote some comments and logging messages.
|
#
6ff7197e |
| 28-Feb-2013 |
Steve Holme |
imap: Small tidy up of function arguments
|