aboutsummaryrefslogtreecommitdiff
path: root/doc/design/external_special_remote_protocol/comment_12_e3029c65d34f78272bc11961ebfd8237._comment
blob: e8d0dcfe8e6ca04247eb82535974ddff0743f737 (plain)
1
2
3
4
5
6
7
8
9
10
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawm_YXzEdPHzbSGVwtmTR7g1BqDtTnIBB5s"
 nickname="Matthias"
 subject="Chunk it"
 date="2014-01-20T16:22:09Z"
 content="""
> TODO: stream the file up/down the pipe, rather than using a temp file

You might want to use chunked transfer, i.e. a series of \"EXPECT 65536\" followed by that many bytes of binary data and an EOF marker (EXPECT-END or EXPECT 0), instead of escaping three characters (newline, NUL, and the escape prefix) and the additional unnecessary tedious per-character processing that would require.
"""]]