You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/12/30 15:36:12 UTC

[GitHub] [incubator-nuttx] anchao commented on pull request #5104: net/tcp/udp: allocate tcp/udp connect dynamically

anchao commented on pull request #5104:
URL: https://github.com/apache/incubator-nuttx/pull/5104#issuecomment-1003079486


   How about adding an dynamic enable option? If dynamic allocate is enabled on the basis of the pre-allocation pool, 
   then we will allocate new connection instances from the heap.
   Of course, we will also add the maximum limit config to protect the system from malicious attacks.
   
   CONFIG_NET_DYNAMIC_CONNS
   CONFIG_NET_MAX_DYNAMIC_CONNS


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org