projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Custom session ID may be specified for SRU filter
[metaproxy-moved-to-github.git]
/
include
/
metaproxy
/
origin.hpp
diff --git
a/include/metaproxy/origin.hpp
b/include/metaproxy/origin.hpp
index
d9d625c
..
955476f
100644
(file)
--- a/
include/metaproxy/origin.hpp
+++ b/
include/metaproxy/origin.hpp
@@
-59,6
+59,8
@@
namespace metaproxy_1 {
/// get tcpip address
std::string get_address();
/// get tcpip address
std::string get_address();
+
+ void set_custom_session(const std::string &s);
private:
friend std::ostream&
std::operator<<(std::ostream& os, metaproxy_1::Origin& o);
private:
friend std::ostream&
std::operator<<(std::ostream& os, metaproxy_1::Origin& o);
@@
-73,6
+75,7
@@
namespace metaproxy_1 {
std::string m_listen_host;
unsigned int m_listen_port;
int m_max_sockets;
std::string m_listen_host;
unsigned int m_listen_port;
int m_max_sockets;
+ std::string m_custom_session;
};
}
};
}