mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Macaron 1.5 (#12596)
* update macaron to v1.5 of fork * update macaron to v1.5 of fork * test gzip PR * add push method impl to context_tests * use proper gzip commit Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/github.com/klauspost/compress/gzip/gzip.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/klauspost/compress/gzip/gzip.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -37,13 +37,13 @@ type Writer struct { | ||||
| 	Header      // written at first call to Write, Flush, or Close | ||||
| 	w           io.Writer | ||||
| 	level       int | ||||
| 	wroteHeader bool | ||||
| 	err         error | ||||
| 	compressor  *flate.Writer | ||||
| 	digest      uint32 // CRC-32, IEEE polynomial (section 8) | ||||
| 	size        uint32 // Uncompressed size (section 2.3.1) | ||||
| 	wroteHeader bool | ||||
| 	closed      bool | ||||
| 	buf         [10]byte | ||||
| 	err         error | ||||
| } | ||||
|  | ||||
| // NewWriter returns a new Writer. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user