Skip to content

Commit

Permalink
support for proxy protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
wodesuck committed Nov 23, 2016
1 parent 9680e89 commit 1b943ae
Show file tree
Hide file tree
Showing 12 changed files with 99 additions and 12,685 deletions.
2 changes: 2 additions & 0 deletions include/phxbinlogsvr/config/phxsql_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class PhxMySqlConfig : public phxsql::PhxBaseConfig {
public:
const char *GetMySQLIP() const;
int GetMySQLPort() const;
const char *GetMySQLSocket() const;
protected:
PhxMySqlConfig(const char *filename = "my.cnf");
virtual ~PhxMySqlConfig();
Expand All @@ -33,6 +34,7 @@ class PhxMySqlConfig : public phxsql::PhxBaseConfig {
private:
std::string mysql_ip_;
uint32_t mysql_port_;
std::string mysql_socket_;
};

}
Loading

0 comments on commit 1b943ae

Please sign in to comment.