enable-http2 -> http2
This commit is contained in:
		
							parent
							
								
									049322702b
								
							
						
					
					
						commit
						f9686885be
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1937,7 +1937,7 @@ void fetch(EvalState & state, const Pos & pos, Value * * args, Value & v, | ||||||
|     } else |     } else | ||||||
|         url = state.forceStringNoCtx(*args[0], pos); |         url = state.forceStringNoCtx(*args[0], pos); | ||||||
| 
 | 
 | ||||||
|     if (state.restricted && !expectedHash) |     if (state.restricted) | ||||||
|         throw Error(format("'%1%' is not allowed in restricted mode") % who); |         throw Error(format("'%1%' is not allowed in restricted mode") % who); | ||||||
| 
 | 
 | ||||||
|     Path res = getDownloader()->downloadCached(state.store, url, unpack, name, expectedHash); |     Path res = getDownloader()->downloadCached(state.store, url, unpack, name, expectedHash); | ||||||
|  |  | ||||||
|  | @ -271,7 +271,7 @@ public: | ||||||
|         "Number of parallel HTTP connections.", |         "Number of parallel HTTP connections.", | ||||||
|         {"binary-caches-parallel-connections"}}; |         {"binary-caches-parallel-connections"}}; | ||||||
| 
 | 
 | ||||||
|     Setting<bool> enableHttp2{this, true, "enable-http2", |     Setting<bool> enableHttp2{this, true, "http2", | ||||||
|         "Whether to enable HTTP/2 support."}; |         "Whether to enable HTTP/2 support."}; | ||||||
| 
 | 
 | ||||||
|     Setting<unsigned int> tarballTtl{this, 60 * 60, "tarball-ttl", |     Setting<unsigned int> tarballTtl{this, 60 * 60, "tarball-ttl", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue