X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsru_util.cpp;h=213b271610f12348cf4c2d60df65308e9eb332fa;hb=b6ea100d3fb9f64ca9fd88606c77ba1d715224ea;hp=a9b3d669e3ae33bb54578620f1a3deda9cbb1acc;hpb=f1593e31882800fcfc3dad7d3ec42e709754128d;p=metaproxy-moved-to-github.git diff --git a/src/sru_util.cpp b/src/sru_util.cpp index a9b3d66..213b271 100644 --- a/src/sru_util.cpp +++ b/src/sru_util.cpp @@ -49,8 +49,8 @@ mp_util::SRUServerInfo mp_util::get_sru_server_info(mp::Package &package) mp_util::SRUServerInfo sruinfo; // getting host and port info - sruinfo.host = package.origin().listen_host(); - sruinfo.port = mp_util::to_string(package.origin().listen_port()); + sruinfo.host = "localhost"; + sruinfo.port = "80"; // overwriting host and port info if set from HTTP Host header Z_GDU *zgdu_req = package.request().get();