Oipo commented on a change in pull request #279:
URL: https://github.com/apache/celix/pull/279#discussion_r544194500



##########
File path: bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c
##########
@@ -628,16 +615,24 @@ int pubsub_tcpHandler_listen(pubsub_tcpHandler_t *handle, 
char *url) {
 }
 
 //
-// Setup buffer sizes
+// Setup receive buffer size
+//
+int pubsub_tcpHandler_setReceiveBufferSize(pubsub_tcpHandler_t *handle, 
unsigned int size) {
+    if (handle != NULL) {
+        celixThreadRwlock_writeLock(&handle->dbLock);
+        handle->bufferSize = size;

Review comment:
       Please add comment.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to