英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论