Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta 1 - Streams & Tests #1

Merged
merged 28 commits into from
Oct 15, 2015
Merged

Beta 1 - Streams & Tests #1

merged 28 commits into from
Oct 15, 2015

Conversation

schahriar
Copy link
Owner

Changes

  • Improved Overall Code structure
  • Added Tests & Travis CI (working thanks to the magic of sed)
  • Module is now stream-enabled, reducing load on memory when parsing large emails or emails flowing in bulk.
  • Examples have been updated
  • Updated README.md & package.json

Hopefully we can edit spamassassin config without sudo
Result never changes context
Line 124,163,183: Learn/Revoke/Tell function now matches that of
MessageFactory
Line 148,172,201: Learn/Revoke/Tell function call to exec now sends
headers as the correct argument
Line 220-225: Updated extraHeaders format from an array to a plain
Object
Line 233: The module now warns instead of returning an error when
Content-length is not defined for streams
Line 237: Adding a new line '\r\n' at the end of the piped message
caused an error when Content-length was defined (since the value should
be added to two) Spamd works fine without the EOL for now.
schahriar added a commit that referenced this pull request Oct 15, 2015
Beta 1 - Streams & Tests
@schahriar schahriar merged commit 231a976 into master Oct 15, 2015
@schahriar schahriar deleted the test branch October 16, 2015 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant