initialize compression type to be no compression
This commit is contained in:
		
							parent
							
								
									29949eae1b
								
							
						
					
					
						commit
						601eff1af6
					
				| @ -32,7 +32,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |||||||
| namespace http | namespace http | ||||||
| { | { | ||||||
| 
 | 
 | ||||||
| RequestParser::RequestParser() : state_(method_start), header({"", ""}) {} | RequestParser::RequestParser() | ||||||
|  |     : state_(method_start), header({"", ""}), compression_type(noCompression) | ||||||
|  | { | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
| void RequestParser::Reset() { state_ = method_start; } | void RequestParser::Reset() { state_ = method_start; } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user