码迷,mamicode.com
首页 >  
搜索关键字:squid timeout    ( 4829个结果
注册时验证按钮倒计时
// 按钮点击事件-(void)startTime{ __block int timeout=30; //倒计时时间 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); dis...
分类:其他好文   时间:2014-08-06 14:12:31    阅读次数:216
squid 代理配置
vi /etc/squid/squid.conf cache_mem 64 MB cache_dir ufs /var/spool/squid 1000 16 256 cache_effective_user squid cache_effective_group squid dns_nameservers 8.8.8.8 cache_access_log /var/log/squid/ac...
分类:其他好文   时间:2014-08-06 12:03:21    阅读次数:267
jquery总结
一、$表示jquery对象 二、样本 1.ajax进行json交互 $.ajax({ url : path+"expressDic.do?parentId=" + parentId, type : ‘post‘, dataType : ‘json‘, timeout : 5000, error : function() { alert(‘加载数据异常,...
分类:Web程序   时间:2014-08-05 11:41:29    阅读次数:226
ACE常用类及对应的头文件
定时器 ACE_Reactor::instance()->handle_events()         #include "ace/Reactor.h" ACE_Event_Handler    #include "ace/Event_Handler.h" int ACE_Event_Handler::handle_timeout(const ACE_Time_Value &curre...
分类:其他好文   时间:2014-08-04 14:34:47    阅读次数:239
asp完整登陆代码
asp完整登陆代码-管理员登录用户名称:用户密码:验证码:下面是asp处理文件server_v2thenchkpost=falseelsechkpost=trueEndifEndfunctionsession.Timeout=20ifChkPost=falsethen'emsg="请不要从其它站点提...
分类:Web程序   时间:2014-08-03 20:30:26    阅读次数:357
nginx 反向代理apache服务器 配置java与PHP共存环境
listen 80; listen 443; ssl on; ssl_certificate /passport.crt; ssl_certificate_key /passport.key; ssl_session_timeout 5m; server_name lo...
分类:编程语言   时间:2014-08-03 12:32:55    阅读次数:348
squid节点添加新域名测试
squid节点添加新域名 测试是否缓存成功 1 #!/bin/bash 2 #2014-8-1 3 4 clear #清屏 方便输出结果观看 5 6 url=* #需要测试的url 7 8 array_node[0]="*" #节点ip做成一个关联数组 9 array_node[1]="*"1...
分类:其他好文   时间:2014-08-01 15:47:11    阅读次数:268
angular学习笔记(二十六)-$http(4)-设置请求超时
本篇主要讲解$http(config)的config中的timeout项:$http({ timeout: number})数值,从发出请求开始计算,等待的毫秒数,超过这个数还没有响应,则返回错误demo:html: 18.4 $http(2) {{data}}js:var js...
分类:其他好文   时间:2014-07-31 19:34:27    阅读次数:9782
一个简单的监控网站是否正常并自动重启服务的shell脚本
#!/bin/sh if [ -z "`curl --connect-timeout 15 --max-time 20 --head --silent http://localhost/index.php|head -n 1|grep ‘200‘`" ];then echo -e "$(date +%Y-%m-%d)\n" killall nginx killall...
分类:Web程序   时间:2014-07-31 17:23:50    阅读次数:301
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction
前言:朋友咨询我说执行简单的update语句失效,症状如下:mysql> update order_info  set province_id=15  ,city_id= 1667  where order_from=10 and order_out_sn='1407261241xxxx';ERROR 1205 (HY000): Lock wait timeout exceeded; try re...
分类:其他好文   时间:2014-07-31 13:25:26    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!