pnoltes commented on a change in pull request #187: Added interceptors to RSA, 
currently only DFI is updated.
URL: https://github.com/apache/celix/pull/187#discussion_r404889708
 
 

 ##########
 File path: 
bundles/remote_services/remote_service_admin_dfi/src/remote_service_admin_dfi.c
 ##########
 @@ -365,6 +365,18 @@ static int remoteServiceAdmin_callback(struct 
mg_connection *conn) {
             service[pos] = '\0';
             unsigned long serviceId = strtoul(service,NULL,10);
 
+            celix_properties_t *metadata = NULL;
+
+            for (int i = 0; i < request_info->num_headers; i++) {
+                struct mg_header header = request_info->http_headers[i];
+                if (strncmp(header.name, "X-RSA-Metadata-", 15) == 0) {
 
 Review comment:
   👍 X-RSA-Metadata will work nicely. 

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


With regards,
Apache Git Services

Reply via email to