2012-06-14 1 views
0

우리의 프로덕션 환경 (Red Hat Enterprise Linux 서버 릴리즈 5.4 (Tikanga) 및 curl 7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn)은 매우 까다 롭습니다. /0.6.5) POST 요청이 GET 요청을 자동으로 받게됩니다. 아래는 nginx가 제공하는 상대 로그입니다.POST 요청을 수행 할 때 Typheous에서 세그멘테이션 오류가 발생하는 이유는 무엇입니까?

cache: [GET /login] miss 
url->http://localhost:8080/login 

About to connect() to localhost port 8080 
Expire at 1339680839/265363 (300000ms) 
Trying 127.0.0.1... * connected 
Connected to localhost (127.0.0.1) port 8080 /usr/local/lib/ruby/gems/1.8/gems/typhoeus-0.4.0/lib/typhoeus/multi.rb:141: [BUG] Segmentation fault ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux] 
2012/06/14 21:28:59 [error] 29829#0: *6031 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "POST /login HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "127.0.0.1:8081", referrer: "http://127.0.0.1:8081/login" 

실제로 우리는 로그인 요청을 보내지 만 실제로는 GET으로 변환됩니다.

우리 개발 환경 (Ubuntu12.04 및 curl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3) , 모든게 괜찮아.

누가 설명 할 수 있습니까?

답변

0

컬을 7.15에서 7.22로 업그레이드 한 후에. 문제가 해결되었습니다.

관련 문제