forked from KokaKiwi/boitalettres
Improve draft
This commit is contained in:
parent
89ffe98bc0
commit
d71d40d582
1 changed files with 12 additions and 0 deletions
12
doc/draft.md
12
doc/draft.md
|
@ -12,6 +12,18 @@ $ export RUSTFLAGS="--cfg tokio_unstable"
|
||||||
$ cargo run --example simple
|
$ cargo run --example simple
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Test it manually
|
||||||
|
|
||||||
|
Theoretically, IMAP server expected end of lines with `\r\n` but implementations are more liberal.
|
||||||
|
To check with `\r\n`, use the `socat` command line.
|
||||||
|
The `nc` command line will send only `\n` when run on Linux, our current implementation supports it.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ socat readline tcp4:127.0.0.1:4567,crnl
|
||||||
|
$ nc 127.0.0.1 4567
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
- [Basic python testing script](../scripts/test_imap.py)
|
- [Basic python testing script](../scripts/test_imap.py)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
Loading…
Reference in a new issue