mirror of
				https://gitea.invidious.io/iv-org/litespeed-quic.git
				synced 2024-08-15 00:53:43 +00:00 
			
		
		
		
	Release 2.30.0
- [FEATURE] Added support for sending/receiving multiple headers to address the case related to "100 continue" header handling. - [BUGFIX] Addressed high CPU usage for a GOAWAY connection before sending CONNECTION_CLOSE. - [BUGFIX] Addressed SIGFPE due to zero pacing rate. (ISSUE #254). - [BUGFIX] Fixed a minor issue related to multi-paths.
This commit is contained in:
		
							parent
							
								
									ab69788e51
								
							
						
					
					
						commit
						293df8d66b
					
				
					 16 changed files with 815 additions and 125 deletions
				
			
		| 
						 | 
				
			
			@ -585,13 +585,14 @@ send_headers (lsquic_stream_ctx_t *st_h)
 | 
			
		|||
    if (!hostname)
 | 
			
		||||
        hostname = st_h->client_ctx->prog->prog_hostname;
 | 
			
		||||
    hbuf.off = 0;
 | 
			
		||||
    struct lsxpack_header headers_arr[9];
 | 
			
		||||
    struct lsxpack_header headers_arr[10];
 | 
			
		||||
#define V(v) (v), strlen(v)
 | 
			
		||||
    header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":method"), V(st_h->client_ctx->method));
 | 
			
		||||
    header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":scheme"), V("https"));
 | 
			
		||||
    header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":path"), V(st_h->path));
 | 
			
		||||
    header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":authority"), V(hostname));
 | 
			
		||||
    header_set_ptr(&headers_arr[h_idx++], &hbuf, V("user-agent"), V(st_h->client_ctx->prog->prog_settings.es_ua));
 | 
			
		||||
    //header_set_ptr(&headers_arr[h_idx++], &hbuf, V("expect"), V("100-continue"));
 | 
			
		||||
    if (randomly_reprioritize_streams)
 | 
			
		||||
    {
 | 
			
		||||
        char pfv[10];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue