Not getting the response after adding debug proxy
<p>I have an android application where i connect to server and get the data to be rendered. To show the maps I added '<strong>-http-proxy IP:port -debug-proxy</strong>' to 'Additional emulator command line options' in eclipse . Since i have added this I am unable to recieve the response properly. 
I am using HTTP connection to connect to server and get the response. I am using following code :</p>

<pre><code>       HttpResponse response = httpclient.execute(httppost);
       Log.v("Response",""+response.toString());
       responseBody = EntityUtils.toString(response.getEntity());
       Log.v("ResponseBody",""+responseBody);
</code></pre>

<p>First Log statement is getting executed but second Log statement is not getting executed.</p>

<p>I am getting following in the console:</p>

<p>sent closed=0 data=0 n=0 ret=0</p>

<p>connection reset by peer (receive)</p>

<p>body completed by close (13908 bytes)</p>

<p>I am not getting complete response and connection is getting lost.</p>

<p>Everything is working fine fine if i remove '-http-proxy IP:port -debug-proxy' . But then i cant show map.</p>

<p>Pls help.. Thanks</p>
