场景 在不同的开发机器上,建立HTTP1.1连接,有的机器会进行一两次交互后,会检测到断开连接。这种情况下,会需要重连服务器。一般断开的原因包括硬件/路由/代理服务器。 目前尝试添加Keep-Alive字段,目前来看估计跟机器有关摘自You are assuming that the connection is staying open after each HTTP response is re
分类:
其他好文 时间:
2018-05-19 18:44:03
阅读次数:
256
Well, I know this topic is a little bit old. But I am writing this blog to basically show how I see Trump and help those who haven't heard of Trump be ...
分类:
其他好文 时间:
2018-05-19 15:48:24
阅读次数:
437
Spring Boot Build anything Spring Boot is designed to get you up and running as quickly as possible,with minimal upfront configuration of Spring.Sprin ...
分类:
编程语言 时间:
2018-05-19 14:03:01
阅读次数:
577
https://www.codeproject.com/Articles/1432/What-is-an-ISAPI-Extension Introduction Unless you have been a caveman, you have seen a number of web sites ...
NVIDIA-linux.run安装后,会出现登录页面循环,解决办法是在运行命令后加入-no-opengl-files 打开nvidia x server Settings软件,显示:You do not appear to be using the NVIDIA X driver. Please ...
分类:
系统相关 时间:
2018-05-19 13:01:07
阅读次数:
452
# golang Subprocess testsSometimes you need to test the behavior of a process, not just a function.```gofunc Crasher() { fmt.Println("Going down in fl... ...
分类:
其他好文 时间:
2018-05-19 00:15:12
阅读次数:
213
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=2685 题目大意: 求gcd(am-1,an-1)%k 解题思路: 对于am-1 = (a - 1) * (1 + a + a2 + ... + am-1) 所以最开始的gcd就为a-1 对于两个1 + ...
分类:
其他好文 时间:
2018-05-18 23:35:13
阅读次数:
368
利用jenkins自动把服务端打包编译后的代码部署到测试和线上环境,省去了手动整理待发布文件列表的麻烦,也避免了发布文件遗漏的情况。为了提高开发流程质量,科学友好的规范开发流程,我们选择gitlab作为新的代码仓库,通过分支管理和代码review来提高开发效率,减少发布错误。 ...
分类:
Web程序 时间:
2018-05-18 22:22:37
阅读次数:
3525
Visual Stuido 2017中使用正则修改部分内容 ...
分类:
其他好文 时间:
2018-05-18 20:13:31
阅读次数:
128
import java.awt.Button; import java.awt.Frame; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; public class Test { public stat... ...
分类:
其他好文 时间:
2018-05-18 19:22:16
阅读次数:
179