异常一 : The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 异常二 : ClassNoDe ...
分类:
编程语言 时间:
2019-09-19 12:26:57
阅读次数:
95
HTTPS: Problem: Data in HTTP is sent as plain text. A MITM can read and edit requests and responses. -> not secure Solution: Use HTTPS. HTTPS is an ad ...
分类:
编程语言 时间:
2019-09-15 18:38:31
阅读次数:
189
When using useQuery from Apollo React Hooks, the request will be sent automatically after the component has been mounted. This might not be the desire ...
分类:
其他好文 时间:
2019-08-29 20:29:12
阅读次数:
174
一个 post 的请求,直接调接口服务数据正常返回,但是通过 nginx 代理后, 什么都没有返回。 nginx 配置如下: 使用 postman 调用,返回如下: 于是检查日志报错信息,如下: nginx 修改如下: 加入两条: 两条规则缺一不可,都是为了支持后端请求 HTTP1.1 协议。 数据 ...
分类:
其他好文 时间:
2019-08-29 14:06:57
阅读次数:
187
https://www.cnblogs.com/hamsterPP/p/5184491.html tortoise git 密钥配置 https://blog.csdn.net/qq_32614411/article/details/84957759 ...
分类:
其他好文 时间:
2019-08-26 18:07:41
阅读次数:
154
十一种状态如下图: 全部11种状态1. 客户端独有的:(1)SYN_SENT (2)FIN_WAIT1 (3)FIN_WAIT2 (4)CLOSING (5)TIME_WAIT 。2. 服务器独有的:(1)LISTEN (2)SYN_RCVD (3)CLOSE_WAIT (4)LAST_ACK 。3 ...
分类:
其他好文 时间:
2019-08-26 14:52:02
阅读次数:
83
ERR Client sent AUTH, but no password is set ...
分类:
其他好文 时间:
2019-08-22 19:03:31
阅读次数:
75
|--报错内容 com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 millis ...
分类:
数据库 时间:
2019-08-21 09:36:18
阅读次数:
5971
客户端状态的变化: 客户端创建套接字之后会connect服务器,这时客户端会发送一个SYN到服务器,状态转换到SYN_SENT并等待服务器的回复,收到服务端的回复SYN+ACK(同一个报文)之后???客户端会回复ACK此时状态转换到ESTABLISHED,正常数据交互完成之后客户端会close套接字 ...
分类:
其他好文 时间:
2019-08-21 00:29:22
阅读次数:
61
simple-socket是我写的一个"低配版"的Web实时通信工具,在参考了相关源码和资料(如Socket.io,sockjs,ws等)的基础上,实现了前后端实时互通的基本功能。选用了WebSocket ->server-sent-event -> AJAX轮询这三种方式做降级兼容,分为simpl... ...
分类:
编程语言 时间:
2019-08-20 10:54:02
阅读次数:
81