Analyze HTTP requests to reduce the risk of HTTP smuggling attacks and HTTP data receiving asynchronous attacks
The words written in the front
HTTP/1.1 has gone through a long development process from 1991 to 2014:
HTTP/0.9– 1991HTTP/1.0– 1996HTTP/1.1RFC 2068– 1997RFC 2616- 1999RFC 7230- 2014
This means that various servers and clients in the Internet may have many security problems, which will also create opportunities for HTTP smuggling attack (HTTP ...
Added by billmasters on Sat, 26 Feb 2022 08:36:22 +0200
HTML simple learning record
Article catalogue
HTML simple learning record
brief introductionBasic structure of HTMLWeb page basic labelImage label
Link label Hyperlinks
Anchor linkFunctional links Inline and block elementslistformVideo and audio
videoaudio frequency Simple layout of pagesiframe inline frameworkForm syntax
Form element ...
Added by _SAi_ on Sat, 26 Feb 2022 08:27:34 +0200
nginx source code analysis -- master and worker process model
1, Overall architecture of Nginx
nginx in normal execution will have multiple processes. The most basic processes are master process (monitoring process, also known as main process) and woker process (working process), and possibly cache related processes.
A relatively complete overall frame structure is shown in the figure:
2, Core proces ...
Added by Sulphy on Sat, 26 Feb 2022 08:17:12 +0200
C + + syntax 2 - data types
Basic built-in type
Boolean boolCharacter charInteger int(single precision) float ing pointDouble precision floating point doubleNo type voidWide character wchar_t
type specifier
signedunsignedshortlong
Some basic types can be decorated with one or more type modifiers.
typedef
wchar_t is this:
typedef short int wchar_t;
So ...
Added by spiyun on Sat, 26 Feb 2022 08:07:19 +0200
What are the possible ways to refactor "arrow" code?
The article comes from Chen Hao
So back to business,
The so-called arrow code is basically the kind of code shown in the following picture. Countless if's look big.
So, what's wrong with this "arrow" code? It also looks good, symmetrical and beautiful. But
There are several questions about arrow Codes:
1) If my monitor is not w ...
Added by Sykoi on Sat, 26 Feb 2022 07:39:26 +0200
Quick sort and its optimization super detailed answer + code (real understanding)
Original text: https://zhuanlan.zhihu.com/p/...Welcome to my Zhihu: https://www.zhihu.com/people/...QuickSort adopts the divide and conquer method, which divides the array linked list or other element sets into the to be sorted set and the sorted set, and converts the elements of the to be sorted set into the sorted set in one iteration until a ...
Added by vaavi8r on Sat, 26 Feb 2022 07:29:10 +0200
36 tips for Vue development
Transferred from: Micro reading https://www.weidianyuedu.com
preface
This paper lists 36 vue development skills; Subsequent vue 3 After X comes out, it will be updated continuously
1,require.context()
1. Scenario: if the page needs to import multiple components, the original writing method:
import titleCom from "@/components/home/t ...
Added by james182 on Sat, 26 Feb 2022 07:16:38 +0200
Four ways to improve file upload performance, will you?
Business requirementsProduct Manager: Xiao Ming, we need to make an attachment upload request. The content may be pictures, pdf or video.Xiao Ming: it can be realized, but the file size should be limited. It's better not to exceed 30MB. It's too large, the upload is slow, and the server pressure is also high.Product Manager: video is necessary ...
Added by morph07 on Sat, 26 Feb 2022 06:46:27 +0200
[C + +] CRTP: singular recursive template mode
1. What is CRTP?
What is CRTP? The full name of CRTP is curiously recursive template pattern, that is, singular recursive template pattern, or CRTP for short. CRTP is a special template technology and usage, which is a common usage in C + + template programming. The characteristics of CRTP are as follows:
The base class is a template cla ...
Added by jipacek on Sat, 26 Feb 2022 06:18:31 +0200
Differences between Java--synchronized and Lock and examples of their use
1. Classification of Java locks (reference link: https://tech.meituan.com/2018/11/15/java-lock.html )
(1) Optimistic lock VS pessimistic lock:
* * optimistic Lock: * * Lock the data first to ensure that the data will not be modified by other threads. The synchronized keyword and the implementation class of Lock are pessimistic locks. It is su ...
Added by deepakagrawal1982 on Sat, 26 Feb 2022 05:43:46 +0200