This website requires JavaScript.
Explore
Help
Sign in
rodolphe
/
rust-opensmtpd
Archived
Watch
1
Star
0
Fork
You've already forked rust-opensmtpd
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
This repository has been archived on
2023-09-20
. You can view files and clone it, but cannot push or open issues or pull requests.
2fecbedfa1
rust-opensmtpd
/
examples
/
dummy.rs
4 lines
36 B
Rust
Raw
Normal View
History
Unescape
Escape
Read and parse incoming entries then dispatch them into session threads
2018-12-29 16:56:56 +01:00
fn
main
(
)
{
Refactor the reader/dispatcher The previous design did not handled errors correctly and was kind of spaghetti code. With the new one, the reader and the dispatcher are clearly separated. The filter will only exit on an error from the reader or if EOF has been reached, any other error is displayed but does not exit the filter, which is required by the API. If the filter must exit, all threads are gracefully stopped.
2018-12-29 20:22:37 +01:00
opensmtpd
::
run
(
)
;
Read and parse incoming entries then dispatch them into session threads
2018-12-29 16:56:56 +01:00
}
Reference in a new issue
Copy permalink