n = tlen;</div>
<div class="line">        <span class="keyword">auto</span> buf = (uint8_t*) SOC_EXTRAM_DATA_LOW; <span class="comment">// use PSRAM as buffer</span></div>
<div class="line">        WiFiClient * stream = http.getStreamPtr();</div>
<div class="line">        <span class="keywordtype">int</span> dsize = 0;</div>
<div class="line">        <span class="keywordflow">while</span> (http.connected() &amp;&amp; (len &gt; 0 || len == -1)) {</div>
<div class="line">          <span class="keywordtype">si