mirror of
				https://gitea.invidious.io/iv-org/litespeed-quic.git
				synced 2024-08-15 00:53:43 +00:00 
			
		
		
		
	Release 3.1.0
This commit is contained in:
		
							parent
							
								
									d755d26ed2
								
							
						
					
					
						commit
						a74702c630
					
				
					 276 changed files with 294 additions and 287 deletions
				
			
		
							
								
								
									
										2
									
								
								APIs.txt
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								APIs.txt
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
# Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
# Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
LSQUIC APIs
 | 
			
		||||
===========
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										11
									
								
								CHANGELOG
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								CHANGELOG
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,3 +1,14 @@
 | 
			
		|||
2022-05-06
 | 
			
		||||
    - 3.1.0
 | 
			
		||||
    - Better handling of transport parameter max_table_capcity < 32
 | 
			
		||||
    - Fix NULL pointer dereference in handshake
 | 
			
		||||
    - Fix 0-RTT transport parameter validation (issue #367)
 | 
			
		||||
    - Remove unnecessary debug log to avoid NULL pointer dereference
 | 
			
		||||
    - Tick connection on datagram write (pull #314)
 | 
			
		||||
    - Do not dispatch write event for FINISHED stream
 | 
			
		||||
    - Tweaks for CMake configuration (pull #354 #369 #370 #373 #374)
 | 
			
		||||
    - Update ls-qpack to 2.3.0
 | 
			
		||||
 | 
			
		||||
2022-01-10
 | 
			
		||||
    - 3.0.4
 | 
			
		||||
    - Fix overly strict assert()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
# Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
# Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
cmake_minimum_required(VERSION 3.0...3.23)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -336,11 +336,3 @@ INSTALL(FILES
 | 
			
		|||
    include/lsxpack_header.h
 | 
			
		||||
    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lsquic
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
if(WIN32)
 | 
			
		||||
    # The other file in wincompat is not used in installed headers
 | 
			
		||||
    INSTALL(FILES
 | 
			
		||||
        wincompat/vc_compat.h
 | 
			
		||||
        DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lsquic
 | 
			
		||||
    )
 | 
			
		||||
endif()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
# Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
# Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
In addition to the LiteSpeed QUIC Team, the following people contributed
 | 
			
		||||
to the LiteSpeed QUIC and HTTP/3 Library:
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
# Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
# Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
LSQUIC Examples
 | 
			
		||||
===============
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								LICENSE
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								LICENSE
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
MIT License
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc
 | 
			
		||||
Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc
 | 
			
		||||
 | 
			
		||||
Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
			
		||||
of this software and associated documentation files (the "Software"), to deal
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
# Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
# Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
 | 
			
		||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
 | 
			
		||||
LIST(APPEND LIBS ${EVENT_LIB})
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * duck_client.c -- The siduck client.  See
 | 
			
		||||
 *      https://tools.ietf.org/html/draft-pardue-quic-siduck-00
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * A duck quacks!  The server for the siduck protocol:
 | 
			
		||||
 *      https://tools.ietf.org/html/draft-pardue-quic-siduck-00
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * echo_client.c -- This is really a "line client:" it connects to QUIC server
 | 
			
		||||
 * and sends it stuff, line by line.  It works in tandem with echo_server.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * echo_server.c -- QUIC server that echoes back input line by line
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * http_client.c -- A simple HTTP/QUIC client
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * http_server.c -- A simple HTTP/QUIC server
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * md5_client.c -- This client sends one or more files to MD5 QUIC server
 | 
			
		||||
 *                 for MD5 sum calculation.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * md5_server.c -- Read one or more streams from the client and return
 | 
			
		||||
 *                 MD5 sum of the payload.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * perf_client.c -- Implements the "perf" client, see
 | 
			
		||||
 *      https://tools.ietf.org/html/draft-banks-quic-performance-00
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * perf_server.c -- Implements the "perf" server, see
 | 
			
		||||
 *      https://tools.ietf.org/html/draft-banks-quic-performance-00
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#ifndef WIN32
 | 
			
		||||
#include <arpa/inet.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * prog.h -- common setup and options for QUIC program
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <errno.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef TEST_CERT_H
 | 
			
		||||
#define TEST_CERT_H
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#if __GNUC__
 | 
			
		||||
#define _GNU_SOURCE     /* For struct in6_pktinfo */
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * Test client's and server's common components.
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,13 +20,13 @@
 | 
			
		|||
# -- Project information -----------------------------------------------------
 | 
			
		||||
 | 
			
		||||
project = u'lsquic'
 | 
			
		||||
copyright = u'2021, LiteSpeed Technologies'
 | 
			
		||||
copyright = u'2022, LiteSpeed Technologies'
 | 
			
		||||
author = u'LiteSpeed Technologies'
 | 
			
		||||
 | 
			
		||||
# The short X.Y version
 | 
			
		||||
version = u'3.0'
 | 
			
		||||
version = u'3.1'
 | 
			
		||||
# The full version, including alpha/beta/rc tags
 | 
			
		||||
release = u'3.0.4'
 | 
			
		||||
release = u'3.1.0'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# -- General configuration ---------------------------------------------------
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef __LSQUIC_H__
 | 
			
		||||
#define __LSQUIC_H__
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -24,8 +24,8 @@ extern "C" {
 | 
			
		|||
#endif
 | 
			
		||||
 | 
			
		||||
#define LSQUIC_MAJOR_VERSION 3
 | 
			
		||||
#define LSQUIC_MINOR_VERSION 0
 | 
			
		||||
#define LSQUIC_PATCH_VERSION 4
 | 
			
		||||
#define LSQUIC_MINOR_VERSION 1
 | 
			
		||||
#define LSQUIC_PATCH_VERSION 0
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Engine flags:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef __LSQUIC_TYPES_H__
 | 
			
		||||
#define __LSQUIC_TYPES_H__
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef LSXPACK_HEADER_H_v206
 | 
			
		||||
#define LSXPACK_HEADER_H_v206
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
# Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
# Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
cmake_minimum_required(VERSION 3.0...3.23)
 | 
			
		||||
 | 
			
		||||
add_subdirectory(liblsquic)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
# Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
# Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE.
 | 
			
		||||
SET(lsquic_STAT_SRCS
 | 
			
		||||
    ls-qpack/lsqpack.c
 | 
			
		||||
    lsquic_adaptive_cc.c
 | 
			
		||||
| 
						 | 
				
			
			@ -159,3 +159,4 @@ install(
 | 
			
		|||
    DESTINATION share/lsquic
 | 
			
		||||
    NAMESPACE lsquic::
 | 
			
		||||
    FILE lsquic-targets.cmake)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2015 The Chromium Authors. All rights reserved.
 | 
			
		||||
 * Use of this source code is governed by a BSD-style license that can be
 | 
			
		||||
 * found in the LICENSE.chrome file.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2015 The Chromium Authors. All rights reserved.
 | 
			
		||||
 * Use of this source code is governed by a BSD-style license that can be
 | 
			
		||||
 * found in the LICENSE.chrome file.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2015 The Chromium Authors. All rights reserved.
 | 
			
		||||
 * Use of this source code is governed by a BSD-style license that can be
 | 
			
		||||
 * found in the LICENSE.chrome file.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2015 The Chromium Authors. All rights reserved.
 | 
			
		||||
 * Use of this source code is governed by a BSD-style license that can be
 | 
			
		||||
 * found in the LICENSE.chrome file.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2015 The Chromium Authors. All rights reserved.
 | 
			
		||||
 * Use of this source code is governed by a BSD-style license that can be
 | 
			
		||||
 * found in the LICENSE.chrome file.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2015 The Chromium Authors. All rights reserved.
 | 
			
		||||
 * Use of this source code is governed by a BSD-style license that can be
 | 
			
		||||
 * found in the LICENSE.chrome file.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
 | 
			
		||||
/* libfiu - Fault Injection in Userspace
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#line 2 "ls-sfparser.c"
 | 
			
		||||
#line 2 "ls-sfparser.l"
 | 
			
		||||
/*
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
MIT License
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* lsquic_adaptive_cc.c -- adaptive congestion controller */
 | 
			
		||||
 | 
			
		||||
#include <inttypes.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_adaptive_cc.h -- Adaptive congestion controller
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_alarmset.c -- A set of alarms
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_alarmset.h -- A set of alarms
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_arr.c
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_arr.h -- Array
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_attq.c -- Advisory Tick Time Queue
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_attq.h -- Advisory Tick Time Queue
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
// Copyright 2016 The Chromium Authors. All rights reserved.
 | 
			
		||||
// Use of this source code is governed by a BSD-style license that can be
 | 
			
		||||
// found in the LICENSE.chrome file.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef LSQUIC_BBR_H
 | 
			
		||||
#define LSQUIC_BBR_H
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <inttypes.h>
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef LSQUIC_BW_SAMPLER_H
 | 
			
		||||
#define LSQUIC_BW_SAMPLER_H 1
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef LSQUIC_BYTESWAP_H
 | 
			
		||||
#define LSQUIC_BYTESWAP_H 1
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <inttypes.h>
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * Stream/crypto handshake adapter for the client side.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * Stream/crypto handshake adapter for the client side.
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_cong_ctl.h -- congestion control interface
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <inttypes.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_conn.h -- Connection interface
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_conn_flow.h -- Connection flow control-related functions
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_conn_public.h -- Connection's "public interface"
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <openssl/rand.h>
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_crand.h -- cached random bytes
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef __LSQUIC_CRT_COMPRESS_H__
 | 
			
		||||
#define __LSQUIC_CRT_COMPRESS_H__
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
 | 
			
		||||
#ifndef __LSQUIC_CRYPTO_H__
 | 
			
		||||
#define __LSQUIC_CRYPTO_H__
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_cubic.c -- LSQUIC CUBIC implementation.
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_cubic.h -- CUBIC congestion control protocol.
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_data_in_if.h -- DATA in interface
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_di_error.c -- A placeholder when things go wrong
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_di_hash.c -- Copy incoming data into a hash
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_di_nocopy.c -- The "no-copy" data in stream.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef LSQUIC_ENC_SESS_H
 | 
			
		||||
#define LSQUIC_ENC_SESS_H 1
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_enc_sess_ietf.c -- Crypto session for IETF QUIC
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <time.h>
 | 
			
		||||
#ifdef WIN32
 | 
			
		||||
#include <vc_compat.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_eng_hist.h - Engine history.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_engine.c - QUIC engine
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_engine_public.h -- Engine's "public interface"
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef WIN32
 | 
			
		||||
#include <arpa/inet.h>
 | 
			
		||||
#else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_ev_log.h -- Event logger
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_frab_list.c -- List of buffer for simple reading and writing
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_frab_list.h -- List of buffer for simple reading and writing
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
 | 
			
		||||
#include "lsquic_frame_common.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_frame_common.h
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_frame_reader.c -- Read HTTP frames from stream
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_frame_reader.h -- Read HTTP frames from stream
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_frame_writer.c -- write frames to HEADERS stream.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_frame_writer.h -- write frames to HEADERS stream.
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_full_conn.c -- A "full" connection object has full functionality
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef LSQUIC_FULL_CONN_H
 | 
			
		||||
#define LSQUIC_FULL_CONN_H
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_full_conn_ietf.c -- IETF QUIC connection.
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * Global state
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#define _GNU_SOURCE         /* for memmem */
 | 
			
		||||
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#ifndef LSQUIC_HANDSHAKE_H
 | 
			
		||||
#define LSQUIC_HANDSHAKE_H 1
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_hash.c
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_hash.c -- A generic hash
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <inttypes.h>
 | 
			
		||||
#include <stddef.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_hcsi_reader.h -- HTTP Control Stream Incoming (HCSI) reader
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_hcso_writer.c - write to outgoing HTTP Control Stream
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
 | 
			
		||||
/*
 | 
			
		||||
 * lsquic_hcso_writer.h
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
Some files were not shown because too many files have changed in this diff Show more
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue