Name of changed file | |
| Version and , file | Version and , file |
| Line 1 in | Line 1 in |
Context line Removed line Changed line Context line | Context line Changed line Added line Context line |
HTTPSocket.cpp | |
| /usr/src/Sockets-2.3.9.7/HTTPSocket.cpp 2011-07-17 10:06:12.0, 0200 | ./HTTPSocket.cpp 2011-09-23 16:31:28.0, 0200 |
| Line 458 in HTTPSocket.cpp | Line 458 in HTTPSocket.cpp |
void HTTPSocket::url_this(const std::string& url_in,std::string& protocol,std::string& host,port_t& port,std::string& url,std::string& file) { Parse pa(url_in,"/"); std::string user; std::string auth; protocol = pa.getword(); // http if (!strcasecmp(protocol.c_str(), "https:")) { | |
| Line 473 in HTTPSocket.cpp | Line 475 in HTTPSocket.cpp |
port = 80; } host = pa.getword(); size_t pos = host.find("@"); if (pos != std::string::npos) { user = host.substr(0, pos); host = host.substr(pos + 1); } pos = user.find(":"); if (pos != std::string::npos) { auth = user.substr(pos + 1); user = user.substr(0, pos); } if (strstr(host.c_str(),":")) { Parse pa(host,":"); | |
Makefile.version | |
| /usr/src/Sockets-2.3.9.7/Makefile.version 2011-08-16 12:06:18.0, 0200 | ./Makefile.version 2011-09-23 16:19:21.0, 0200 |
| Line 1 in Makefile.version | Line 1 in Makefile.version |
MAJOR = 2 MINOR = 3.9.7 VERSION = $(MAJOR).$(MINOR) DIFF_VERSION = 2.3.9.6 # Sockets OBJS = \ | MAJOR = 2 MINOR = 3.9.8 VERSION = $(MAJOR).$(MINOR) DIFF_VERSION = 2.3.9.7 # Sockets OBJS = \ |
Utility.cpp | |
| /usr/src/Sockets-2.3.9.7/Utility.cpp 2011-07-17 10:07:05.0, 0200 | ./Utility.cpp 2011-09-23 16:30:45.0, 0200 |
| Line 1187 in Utility.cpp | Line 1187 in Utility.cpp |
m_path = m_host.substr(pos); m_host = m_host.substr(0, pos); } pos = m_host.find("@"); if (pos != std::string::npos) { m_user = m_host.substr(0, pos); m_host = m_host.substr(pos + 1); } pos = m_user.find(":"); if (pos != std::string::npos) { m_auth = m_user.substr(pos + 1); m_user = m_user.substr(0, pos); } pos = m_host.find(":"); if (pos != std::string::npos) { | |
Utility.h | |
| /usr/src/Sockets-2.3.9.7/Utility.h 2011-07-17 10:04:41.0, 0200 | ./Utility.h 2011-09-23 16:20:13.0, 0200 |
| Line 91 in Utility.h | Line 91 in Utility.h |
const std::string& ToString() const { return m_url; } const std::string& User() const { return m_user; } const std::string& Auth() const { return m_auth; } private: std::string m_url; std::string m_uri; | |
| Line 101 in Utility.h | Line 104 in Utility.h |
std::string m_path; std::string m_file; std::string m_ext; std::string m_user; std::string m_auth; }; class Path { | |