HTTP GET 请求,TCP抓包,加上3次握手 一个GET要7个包

三次握手后,GET请求发送1个包返回2个包(一个ACK,一个内容),应该是减少延时,先ACK后给内容,客户端收到内容后还要给服务端一个ACK
Running setup.py install for Twisted … error
pip install https://download.lfd.uci.edu/pythonlibs/z4tqcw5k/Twisted-20.3.0-cp39-cp39-win_amd64.whl
装下 Twisted 即可 否则 ,需要下载庞大的vs来编译,还会失败
或者点击这个下载解压
pip install D:\Downloads\Twisted-20.3.0-cp39-cp39-win_amd64.whl
Scrapy入门教程
pecl install swoole
checking how to run the C++ preprocessor… /lib/cpp
configure: error: in `/tmp/pear/temp/pear-build-rootYPmYnu/swoole-4.5.9′:
configure: error: C++ preprocessor “/lib/cpp” fails sanity check
解决办法:
[root@xx xx]# yum install gcc-c++ glibc-headers
PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
其中找到xdebug扩展加载处:
extension=xdebug.so
修改为:
zend_extension=xdebug.so
Nginx+php-fpm超时配置
client_header_timeout 7d;
client_body_timeout 7d;
send_timeout 7d;
fastcgi_connect_timeout 7d;
fastcgi_read_timeout 7d;
fastcgi_send_timeout 7d;
ReferenceError: primordials is not defined
bat 获取 当前目录 和脚本所在目录
Centos8配置Mail
配置mail
明白了基本概念,接下来配置mail使用SMTP对外发送邮件。mail命令的系统级配置文件是/etc/mail.rc,用户级别的默认配置文件是~ /.mailrc,也可以通过MAILRC环境变量设置配置文件路径。作为普通用户,我们在本地的~/.mailrc文件进行配置,SMTP的主要配置如下:
set from=346010975@sohu.com smtp=smtps://smtp.sohu.com:465
set smtp-auth-user="****@****.com" smtp-auth-password="******"
set smtp-auth=login
原文链接: https://blog.csdn.net/raymond_d/article/details/104152933