小编Alo*_*nik的帖子

使用Linux获取Erlang中的内核数量

我正在写一个并发程序,我需要知道系统的核心数,以便程序知道要打开多少个进程.是否有命令在Erlang代码中获取此内容?

日Thnx.

erlang

6
推荐指数
2
解决办法
1727
查看次数

python-requests 2.0.0 - [Errno 8] _ssl.c:504:EOF违反协议

我正在使用Requests 2.0.0并且未能使用以下命令完成https GET请求:

requests.get('https://backend.iddiction.com/rest/v1/s2s/confirm_install?apphandle=slotsjourneyofmagic&appsecret=5100d103e146e2c3f22af2c24ff4e2ec&mac=50:EA:D6:E7:9B:C2&idfa=134DA32A-A99F-4864-B69E-4A7A2EFC6C25')
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

[Errno 8] _ssl.c:504: EOF occurred in violation of protocol.
Run Code Online (Sandbox Code Playgroud)

我在网上和这个网站上阅读了很多内容,但我读到的每个地方都说版本2.0.0中修复了这些问题.

有谁可以在这里建议?

python https python-requests

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

erlang ×1

https ×1

python ×1

python-requests ×1