-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Our web server sends a lot of data xml data. 

When the size is larger than the size of an unsigned short (u16_t), the
lwip_send fails to send all data due to an inconsistency in the socket API.

The lwip_send function API uses an 'int' size while the netwconn_write uses
an 'u16_t' size.

 

int

lwip_send(int s, void *data, int size, unsigned int flags)

 

err_t

netconn_write(struct netconn *conn, void *dataptr, u16_t size, u8_t copy)

 


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.3 (Build 2932)

iQA/AwUBRH2QmYSuEgWAxAnhEQIKAgCgvS9wGZv6/9estp8SHjf4BHN/tCYAoJQG
dDayR96iT0spubaAqzP4EojL
=w1Hy
-----END PGP SIGNATURE-----

Our web server sends a lot of data xml data.

When the size is larger than the size of an unsigned short (u16_t), the lwip_send fails to send all data due to an inconsistency in the socket API.

The lwip_send function API uses an ‘int’ size while the netwconn_write uses an ‘u16_t’ size.

 

int

lwip_send(int s, void *data, int size, unsigned int flags)

 

err_t

netconn_write(struct netconn *conn, void *dataptr, u16_t size, u8_t copy)

 

Attachment: PGPexch.htm.sig
Description: Binary data

_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to