MXS-1506: Remove unused MXS_UPSTREAM variables
The `error` variable was never used. Also added a more convenient typedef for both the downstream and upstream functions and updated filter API version.
This commit is contained in:
@ -74,7 +74,6 @@ void Client::set_as_upstream_on(FilterModule::Session& filter_session)
|
||||
upstream.instance = &m_instance;
|
||||
upstream.session = this;
|
||||
upstream.clientReply = &Client::clientReply;
|
||||
upstream.error = NULL;
|
||||
|
||||
filter_session.setUpstream(&upstream);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user