我真的在网上搜索,我找不到网页浏览器不支持h2c(没有TLS的http/2)的原因.任何想法,赞赏.
用https稍微澄清http/2使用ALPN(这称为h2).带http的http/2不需要ALPN(这叫做h2c),但几乎没有网页浏览器支持它.为什么会这样?
我觉得对于许多资源,虽然真实性总是好的,但是不需要保密(虽然有一些私有实现,但http主体的数字签名并未得到广泛支持).鉴于不需要保密,那么h2c确实是一件好事.
static byte[] ac = {'\\', '\'', '{', '}', '{'}; //not OK insert into tt values('\\\'{}{')
static byte[] ac = {'\\', '\'', '{', '}'}; //OK insert into tt values('\\\'{}')
static byte[] ac = {'\\', '\'', '{'}; //OK insert into tt values('\\\'{')
static byte[] ac = {'\'', '{', '}', '{'}; //OK insert into tt values('\'{}{')
static byte[] ac = {'\\', '{', '}', '{'}; //OK insert into tt values('\\{}{')
Run Code Online (Sandbox Code Playgroud)
我无法在blob表字段中插入5个字节,字节如上所示.数据源连接编码设置为UTF-8.
相关信息:http://dev.mysql.com/doc/refman/5.5/en/string-literals.html
知道为什么 …
我发现有时候,JavaScript有多个线程,这真让我烦恼.我检查了网络,我发现人们总是说它只是一个线程,但我遇到了不止一个.你可以复制放入html文件的代码,然后运行.你会看到我的意思.为什么javascript有多个线程有警报,确认,提示?谢谢阅读.
注意:要测试它,你应该得到你的jQuery并替换它.
<html>
<head>
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script type="text/javascript">
function pauseWithAlert(){
fireAjax();
alert("pause at one thread, I guess before this OK is clicked, no javascript should be executed since single thread, and the runner is with this thread in this function fpause");
}
function pauseWithConfirm(){
fireAjax();
if(confirm("the message has been triggered, while the 1st thread is paused with this confirmation request, but the message from another thread has been presented to you")){
//something;
}
}
function pauseWithDeadLoop(){
alert("after you click …Run Code Online (Sandbox Code Playgroud)