Move result start handling into separate function
The largest part of the code deals with the start of a response. Moving this into a subfunction makes the function clearer as the switch statement inside a switch statement is removed.
This commit is contained in:
@ -142,6 +142,7 @@ public:
|
||||
}
|
||||
|
||||
void process_packets(GWBUF* buffer);
|
||||
void process_reply_start(mxs::Buffer::iterator it);
|
||||
|
||||
// Controlled by the session
|
||||
ResponseStat& response_stat();
|
||||
|
Reference in New Issue
Block a user