vedmalex
545198b378
fixed: issue with error loop in pipe code
...
so this code make error recurrung call and as the result stack overflow when come things wrong with connection lost connection or dns lookup failed
var cleartext = pair.cleartext;
cleartext.socket = socket;
function onerror(e) {
if (cleartext._controlReleased)
cleartext.socket.emit('error', e);// in this line we call emit error event in recurring way.
}
socket.on('error', onerror);// this code the same as cleartext.socket.on('error', onerror)
13 years ago
Brian White
2a9dda2723
Bump version
13 years ago
Brian White
359498abe9
Do not modify Buffer prototype in case some other module does, with the same function name
13 years ago
Brian White
a63a609260
Bump version
13 years ago
Brian White
fd31fd53f3
Minor doc update
13 years ago
Brian White
af0ca9bab4
Allow options object for append() to be completely optional
13 years ago
Brian White
2b320b12b6
Force IDLE extension support to wait for continuation from server
13 years ago
Brian White
68b5ad0c58
Merge pull request #45 from noosbox/master
...
Add support for APPEND -- thanks @ajessup
13 years ago
Andrew Jessup
7981e3e0e5
Removes spurious line break in APPEND
13 years ago
Andrew Jessup
85ac886d00
Ignores continuation commands due to IDLE
13 years ago
Andrew Jessup
681da750db
Strips out spurious debugger breaks
13 years ago
Andrew Jessup
189e4c4e4e
Adds correct respect for contiunation responses following APPEND
13 years ago
Andrew Jessup
0b319c31a0
Updates .append() and ._send() to support Buffers, .append() to use a configuration object, and some code tidying
13 years ago
Andrew Jessup
0d161f72fd
Merged upstream changes
13 years ago
Brian White
b0e88cfd2b
Fix sequence number-based functions and do not connect to the server before all event handlers are attached first
...
Fixes #46
Fixes #26
13 years ago
Andrew Jessup
f8f923a6d0
Addded basic support for APPEND command
13 years ago
Brian White
c77f652a28
Add namespaced sequence number-based functions and remove some unnecessary try-catch blocks
13 years ago
Brian White
3b8695dd34
Merge pull request #39 from jerem/patch-1
...
Fixed a memory leak.
13 years ago
Jérémy Bethmont
d03b03d11c
Fixed a memory leak.
13 years ago
Brian White
56fe37ce3e
Merge pull request #38 from rubycut/patch-2
...
Add installation instructions.
13 years ago
Rubycut
852558acde
Add installation instructions.
13 years ago
Brian White
b6b71b7d9e
Merge pull request #37 from rubycut/patch-1
...
addKeywords is not working
13 years ago
Rubycut
fd3ce59b8d
addKeywords is not working
13 years ago
Brian White
42b71ce503
Add sequence number to fetched messages and emit two new connection events: 'deleted' and 'msgupdate'.
13 years ago
Bruno Morency
286d2c02f4
Fixes issue #36 -- Reset _state.ext.idle.sentIdle and _state.ext.idle.timeWaited in the _reset method.
13 years ago
Brian White
e77eb8af26
Watch out for unsolicited FETCH responses
...
Fixes #11
13 years ago
Brian White
ef5ce33d43
Bump version
13 years ago
Brian White
84271d0f2b
Oops
13 years ago
Brian White
7eaa12a5cf
Bump version
13 years ago
Brian White
6a42429b2d
Don't mutate Buffer so much and fix spacing
13 years ago
Brian White
d0d078cbe4
Added support for most of Gmail's IMAP extensions and made the server's capabilities array public
13 years ago
Brian White
bed94543fa
Bump version
13 years ago
Brian White
d8b7ba72c2
Merge pull request #25 from addrummond/master
...
Fix silly bug that I introduced which caused trailing '"' to appear in folder names returned by getBoxes()
13 years ago
Alex Drummond
1d8cf00df2
Fix silly bug that I introduced which caused trailing '"' to appear in folder names returned by getBoxes()
13 years ago
Benoît Zugmeyer
0b380017fc
Allow ALL in search queries
13 years ago
Brian White
56cf51b83a
Bump version
13 years ago
Brian White
690faff0f1
Merge pull request #24 from addrummond/master
...
Small changes to regular expressions
13 years ago
Alex Drummond
164afe0bc4
Modify another regex where quotes may not always be present.
13 years ago
Alex Drummond
c1a8fedebd
Exchange doesn't always quote mailbox names -- make quotes optional in regex.
13 years ago
Brian White
8753fc28ec
Fix LIST response for Zimbra
...
Thanks @jmoyers
Closes #20
13 years ago
Brian White
7aaeeced9e
Remove unnecessary portions from regexps for mailbox status responses
13 years ago
Brian White
04753b2423
Add ability to fetch an entire email message (including headers) by specifying 'full' for the body property with fetch().
13 years ago
Brian White
d1bbfe7e5f
Fix crash during message headers transfer and fix 'UID' search.
13 years ago
Brian White
ec4111df22
Manipulate buffers instead of utf8 strings when retrieving headers or message bodies.
14 years ago
Brian White
6e99f17fc1
Fixes for malformed multipart bodies and global replacement for escape()/unescape(), and code reformat to better fit within 80 columns.
14 years ago
Brian White
a9e8763263
Fix connection timeout
14 years ago
Brian White
3f5164b3b6
Merge pull request #10 from huancz/master.
...
fix parsing of EXAMINE response
14 years ago
Petr Běhan
98e04c0983
bugfix: broken _uidnext parsing in openBox
14 years ago
Brian White
38c88ff4b3
Bump version
14 years ago
Brian White
ed74906dc2
Fix duplicate sending of commands bug, refactor literal data handling, and make idling a little smarter
14 years ago