A signal that has been sent but not yet received is called a pending signal. At any point in time, there can be at most one pending signal of a partic ...
分类:
其他好文 时间:
2018-07-07 13:51:42
阅读次数:
181
三种格式的InitBinder @InitBinder//https://stackoverflow.com/questions/20616319/the-request-sent-by-the-client-was-syntactically-incorrect-spring-mvc-jdbc-t ...
分类:
编程语言 时间:
2018-07-06 01:42:36
阅读次数:
348
end CLOSED:表示关闭状态(初始状态)。 LISTEN:该状态表示服务器端的某个SOCKET处于监听状态,可以接受连接。 SYN_SENT:这个状态与SYN_RCVD遥相呼应,当客户端SOCKET执行CONNECT连接时,它首先发送SYN报文,随即进入到了SYN_SENT状态,并等待服务端的 ...
分类:
其他好文 时间:
2018-07-06 01:36:12
阅读次数:
184
配置在stream段:log_formatproxy‘$remote_addr[$time_local]‘‘$protocol$status$bytes_sent$bytes_received‘‘$session_time"$upstream_addr"‘‘"$upstream_bytes_sent""$upstream_bytes_received""$upstream_connect_time
分类:
其他好文 时间:
2018-07-03 15:00:39
阅读次数:
293
为zabbix增加支持传参的自定义监控项 例如使用zabbix来监控tcp的12种状态 tcp的12种状态可以通过man netstat来找到,即 LISTEN:等待从任何远端TCP 和端口的连接请求。 SYN_SENT:发送完一个连接请求后等待一个匹配的连接请求。 SYN_RECEIVED:发送连... ...
分类:
其他好文 时间:
2018-06-25 12:58:40
阅读次数:
126
配置文件>>worker_processes1;events{worker_connections1024;}http{log_formatmain‘$remote_addr-$remote_user[$time_local]"$request"‘‘$status$body_bytes_sent"$http_referer"
SSE ( Server-sent Events )是 WebSocket 的一种轻量代替方案,使用 HTTP 协议。 严格地说,HTTP 协议是没有办法做服务器推送的,但是当服务器向客户端声明接下来要发送流信息时,客户端就会保持连接打开,SSE 使用的就是这种原理。 SSE 能做什么? 理论上, ...
分类:
Web程序 时间:
2018-06-18 21:43:59
阅读次数:
248
And Now, a Remainder from Our Sponsor Problem Description IBM has decided that all messages sent to and from teams competing in the ACM programming co ...
分类:
其他好文 时间:
2018-06-15 00:03:53
阅读次数:
179
基于 NIO 的非阻塞实现并行调用,客户端不需要启动多线程即可完成并行调用多个远程服务,相对多线程开销较小。 在 consumer.xml 中配置: 调用代码: 你也可以设置是否等待消息发出: sent="true" 等待消息发出,消息发送失败将抛出异常。 sent="false" 不等待消息发出, ...
分类:
其他好文 时间:
2018-06-14 01:18:15
阅读次数:
173
安装mysql8.0之后,尝试使用php连接mysql,总是报PDO::__construct(): Server sent charset (255) unknown to the client. Please, report to the developers错误,网上找了很多资料,然而都没有多 ...
分类:
数据库 时间:
2018-06-12 12:51:20
阅读次数:
5653