You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2020/12/14 18:48:11 UTC
[mesos] 01/02: Add recipient address in Host header field
This is an automated email from the ASF dual-hosted git repository.
vinodkone pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit de8d9e8dc419445b2f9b22868d4ce03a11fc3505
Author: Abdul Qadeer <qu...@gmail.com>
AuthorDate: Mon Nov 23 14:30:55 2020 -0800
Add recipient address in Host header field
---
3rdparty/libprocess/src/encoder.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3rdparty/libprocess/src/encoder.hpp b/3rdparty/libprocess/src/encoder.hpp
index 629b94f..23c8097 100644
--- a/3rdparty/libprocess/src/encoder.hpp
+++ b/3rdparty/libprocess/src/encoder.hpp
@@ -122,7 +122,7 @@ public:
<< "User-Agent: libprocess/" << message.from << "\r\n"
<< "Libprocess-From: " << message.from << "\r\n"
<< "Connection: Keep-Alive\r\n"
- << "Host: \r\n";
+ << "Host: " << message.to.address << "\r\n";
if (message.body.size() > 0) {
out << "Transfer-Encoding: chunked\r\n\r\n"