HTTP包服务器在生产环境中使用安全吗?

huangapple go评论76阅读模式
英文:

Is the HTTP package server safe to use in production?

问题

Go在其标准库中实现了FastCGI,以及一个本地的HTTP服务器

在生产环境中,使用HTTP包中的服务器(作为应用服务器)是否安全,或者建议使用FastCGI接口连接到更健壮的解决方案(如Apache)以确保安全性?

英文:

Go implements FastCGI, as well as a native HTTP server in its standard library.

Is it safe to use the server from the HTTP package in production (as an application server) or is it recommended to use the FastCGI interface to connect to a more robust solution like Apache in terms of security?

答案1

得分: 7

Go的http包是用于生产环境的,但它还没有像Apache或Nginx那样经过充分的验证。可能仍然存在一些潜在问题。我能想到的一个问题是目前存在的潜在DoS攻击路径:http://code.google.com/p/go/issues/detail?id=2630

在我工作的地方,我们直接在生产环境中使用Go的http包。到目前为止,我们还没有遇到任何问题。

英文:

Go's http package is intended for production use, but it hasn't put in the time to prove itself like Apache or Nginx. There may still be issues lurking. One thing I can think of is the potential DoS attack path available right now: http://code.google.com/p/go/issues/detail?id=2630

We use Go's http package directly in production where I work. We haven't had any problems with it so far.

huangapple
  • 本文由 发表于 2012年1月21日 23:47:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/8954308.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定