IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Weekly Issue 2023-11-19

    Yiran\'s Blog发表于 2023-11-19 00:00:00
    love 0
    文章 链接到标题 技术 链接到标题 自定义 ProxyCommand 以代理 SSH 的底层连接 - 陪她去流浪 当指定了 ProxyCommand 的时候,ssh 客户端不会再自己去尝试连接服务器,而是把待连接的服务器的地址和端口作为变量并以参数的形式传递给 ProxyCommand 指定的命令;由此命令建立与服务器的连接,并通过标准输入与标准输出(分别表示网络连接的_读_与_写_)交换数据。 两种风格的错误处理 | Frost’s Blog 两种处理方式:如果不主动处理错误,当发生错误时,是会上报异常,还是会忽略错误。以前我可能觉得 try…catch… 很好,但是被坑怕了之后,现在几乎所有非标准库的调用都会加 try…catch.. 了,把 python 写成了 golang 的样子。 关联阅读:关于异常处理的总结和思考 curl on 100 operating systems | daniel.haxx.se In the curl project we work relentlessly to maintain ABI and API stability and compatibility. You can upgrade your libcurl using application from the mid 2000s to the latest libcurl – without recompiling the application – and it still works the same.


沪ICP备19023445号-2号
友情链接