上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 77 下一页

write异步与流量控制 4.0.29.Final

摘要: AbstractChannelHandlerContext.class private void write(Object msg, boolean flush, ChannelPromise promise) { AbstractChannelHandlerContext next = this. 阅读全文
posted @ 2020-01-03 23:58 silyvin 阅读(338) 评论(0) 推荐(0)

netty高低水位流控(yet)

摘要: https://blog.csdn.net/feiyingHiei/article/details/78735754?utm_source=blogxgwz9 有源码分析 在启动Netty bootstrap的时候可以设置ChannelOption选项,其中ChannelOption中有一项WRIT 阅读全文
posted @ 2020-01-03 16:47 silyvin 阅读(7420) 评论(1) 推荐(1)

idea与命令行参数冲突

摘要: idea: C:\Users\xxx\.IdeaIC2019.1\config\idea64.exe.vmoptions idea启动行: -Xms2072m -Xmx2072m -XX:+PrintGCDetails jconsole查看启动进程为第一种,gc显示第二种: [GC (Allocat 阅读全文
posted @ 2019-12-31 14:44 silyvin 阅读(232) 评论(0) 推荐(0)

一次sso攻防研究

摘要: 背景:24netty(二十)http代理服务器 使用中间人模拟单点登录过程,拦截用户cookie中sessionid,同时确保其可用 *secretRequest除了sessionid、serviceid,可能还有个时间,比如两个时间对比需在10秒以内,像cas的st只能用一次,且需要在10s以内 阅读全文
posted @ 2019-12-31 14:17 silyvin 阅读(370) 评论(0) 推荐(0)

25一次http完整流程【yetdone】

摘要: https://mp.weixin.qq.com/s/263-00PbiDrUdLQJBOt_7Q https://www.cnblogs.com/pigpdong/p/10899800.html https://www.cnblogs.com/zafu/p/7698361.html 地址解析 ur 阅读全文
posted @ 2019-12-29 19:29 silyvin 阅读(359) 评论(0) 推荐(0)

linux tcp性能参数【yetdone】

摘要: https://mp.weixin.qq.com/s?srcid=1229Fiezd1SFYmCWtSJthQix&scene=23&sharer_sharetime=1577585166978&mid=2454934092&sharer_shareid=7cca4206c9bd967418f468 阅读全文
posted @ 2019-12-29 19:01 silyvin 阅读(1594) 评论(0) 推荐(0)

csrf与防护,get与post ,origin与referer host区别

摘要: 参考: https://blog.csdn.net/houdabiao/article/details/83058351 https://zhuanlan.zhihu.com/p/22521378?utm_source=wechat_session&utm_medium=social&utm_oi= 阅读全文
posted @ 2019-12-29 14:34 silyvin 阅读(1409) 评论(0) 推荐(0)

Netty 作为 http client 请求https 的 get与post

摘要: spring boot server: package com.example.demo.controller.ssl; import com.example.demo.controller.ProxyController; import org.springframework.stereotype 阅读全文
posted @ 2019-12-28 21:50 silyvin 阅读(4042) 评论(0) 推荐(0)

jdk closeable

摘要: 回收的时候,自动调用对象close方法 有两处实践: redis 连接池该取多大?? 23文件描述符耗尽(二)linux【本地】 阅读全文
posted @ 2019-12-26 22:32 silyvin 阅读(170) 评论(0) 推荐(0)

模拟登陆通过csrftoken验证

摘要: 问题:想模拟web端请求,但是发现仅带了登录的session会报403,查看请求头发现还需要携带csrftoken,所以开始研究csrftoken csrftoken:为了防止跨站域请求伪造,有的网站请求中会加入这个验证,在登录及登录后续的操作都会让你携带csrftoken,问题在于csrftoke 阅读全文
posted @ 2019-12-26 16:50 silyvin 阅读(2034) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 77 下一页