2011-02-08 1 views
0

내 응용 프로그램에서 인터넷에 액세스하려고합니다.org.apache.http.MalformedChunkCodingException가 발생합니다 : CRLF는 안드로이드 인터넷 응용 프로그램에서 청크 오류가 발생할 때 예상됩니다.

We are using proxy in our company, so i entered the proxy settings for the simulator by using the -http-proxy XXXXX.

I added the android.permission.INTERNET in android manifest file as well.

When i am trying to access the internet i am getting this exception and my application is getting force closed.

참고 : 에뮬레이터에서 브라우저 응용 프로그램을 사용할 때 인터넷에 액세스 할 수 있습니다.

난 그냥이 코드 http://w3mentor.com/learn/java/android-development/android-http-services/example-of-http-get-request-using-httpclient-in-android/

내가 오류를 얻고을 붙여 복사

: 는 WARN/System.err에 (300) : org.apache.http.MalformedChunkCodingException : CRLF는 청크의 끝에서 예상

동일한 해결 방법을 알려주세요.

감사 & 감사합니다,
SSuman185

+0

클라이언트 생성자 및 설정 코드를 표시 할 수 있습니까? 청크 인코딩이 예상되지만 웹 서비스가 청크 인코딩 된 데이터를 보내지 않는 것 같습니다. – mobibob

답변

0

issue 당신을 도울 수있을 수 있습니다.

2

jmeter 속성의 버퍼 크기를 변경하십시오.

샘플 : 버퍼 크기는 800입니다. 30%에이를 곱하십시오. 240.버퍼 크기를 240으로 편집하십시오.

관련 문제