mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Revert "Don't output \r\n before boundary. This throws off some clients."
This reverts commit ae8c8ec230.
This commit is contained in:
@@ -526,7 +526,7 @@ void MjpegServerImpl::ConnThread::SendStream(wpi::raw_socket_ostream& os) {
|
||||
// with firefox
|
||||
double timestamp = frame.time() / 10000000.0;
|
||||
header.clear();
|
||||
oss << "--" BOUNDARY "\r\n"
|
||||
oss << "\r\n--" BOUNDARY "\r\n"
|
||||
<< "Content-Type: image/jpeg\r\n"
|
||||
<< "Content-Length: " << size << "\r\n"
|
||||
<< "X-Timestamp: " << timestamp << "\r\n"
|
||||
|
||||
Reference in New Issue
Block a user