Only store established connections in the pool
If a connection has not been fully established (i.e. authentication has been completed) then it should not be considered as a connection pool candidate.
This commit is contained in:
		
				
					committed by
					
						
						Markus Mäkelä
					
				
			
			
				
	
			
			
			
						parent
						
							2d7df3eb89
						
					
				
				
					commit
					4117dcf410
				
			@ -102,7 +102,8 @@ MXS_MODULE* MXS_CREATE_MODULE()
 | 
			
		||||
        NULL,                                   /* Authentication                */
 | 
			
		||||
        NULL,                                   /* Session                       */
 | 
			
		||||
        gw_default_auth,                        /* Default authenticator         */
 | 
			
		||||
        gw_connection_limit                     /* Send error connection limit   */
 | 
			
		||||
        gw_connection_limit,                    /* Send error connection limit   */
 | 
			
		||||
        NULL
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    static MXS_MODULE info =
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user