Mercurial > hg > orthanc
comparison Core/HttpServer/HttpOutput.cpp @ 1875:a5cd02894534
fix multipart
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 07 Dec 2015 17:23:57 +0100 |
parents | aa95aea0a352 |
children | 5cf2bd0abfa2 |
comparison
equal
deleted
inserted
replaced
1873:5e7feeb63d1f | 1875:a5cd02894534 |
---|---|
461 if (length > 0) | 461 if (length > 0) |
462 { | 462 { |
463 stream_.Send(false, item, length); | 463 stream_.Send(false, item, length); |
464 } | 464 } |
465 | 465 |
466 stream_.Send(false, "\r\n", 1); | 466 stream_.Send(false, "\r\n", 2); |
467 } | 467 } |
468 | 468 |
469 | 469 |
470 void HttpOutput::StateMachine::CloseMultipart() | 470 void HttpOutput::StateMachine::CloseMultipart() |
471 { | 471 { |