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

Add better handling of crashes on socket closure by client #270

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/gen_smtp_client.erl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
%%% vim:ts=2:sw=2:et
%%% Copyright 2009 Andrew Thompson <andrew@hijacked.us>. All rights reserved.
%%%
%%% Redistribution and use in source and binary forms, with or without
Expand Down
1 change: 1 addition & 0 deletions src/gen_smtp_server.erl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
%%% vim:ts=2:sw=2:et
%%% Copyright 2009 Andrew Thompson <andrew@hijacked.us>. All rights reserved.
%%%
%%% Redistribution and use in source and binary forms, with or without
Expand Down
429 changes: 234 additions & 195 deletions src/gen_smtp_server_session.erl

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/mimemail.erl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
%%% vim:ts=2:sw=2:et
%%% Copyright 2009 Andrew Thompson <andrew@hijacked.us>. All rights reserved.
%%%
%%% Redistribution and use in source and binary forms, with or without
Expand Down
1 change: 1 addition & 0 deletions src/smtp_server_example.erl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
%%% vim:ts=2:sw=2:et
%% @doc A simple example callback module for `gen_smtp_server_session' that also serves as
%% documentation for the required callback API.

Expand Down
1 change: 1 addition & 0 deletions src/smtp_socket.erl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
%%% vim:ts=2:sw=2:et
%%% Copyright 2009 Jack Danger Canty <code@jackcanty.com>. All rights reserved.
%%%
%%% Permission is hereby granted, free of charge, to any person obtaining
Expand Down
1 change: 1 addition & 0 deletions src/smtp_util.erl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
%%% vim:ts=2:sw=2:et
%%% Copyright 2009 Andrew Thompson <andrew@hijacked.us>. All rights reserved.
%%%
%%% Redistribution and use in source and binary forms, with or without
Expand Down