struct http_state {
u32_t left;
- const unsigned char *file;
+ const char *file;
u8_t retries;
};
len = hs->left;
LWIP_ASSERT((len == hs->left), "hs->left did not fit into u16_t!");
}
+
+ outputf("send_data trying %d bytes", len);
do {
err = tcp_write(pcb, hs->file, len, 0);