Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 187887
Collapse All | Expand All

(-)src-native-new/src/transport/TPTPClientCompTL/CCTLServer.c (-1 / +4 lines)
Lines 508-514 Link Here
508
			*	Tell the client to authenticate with the secured server instead
508
			*	Tell the client to authenticate with the secured server instead
509
			*
509
			*
510
			*/
510
			*/
511
			if(cctlData->securityEnabled) {
511
			if(cctlData->securityEnabled) {					// send redirect to secure server for RAC clients 
512
				TPTP_LOG_INFO_MSG1(stateData, "Security is enabled. Notify client to authenticate and drop this connection and reconnect to port %d", cctlData->securedPort);
512
				TPTP_LOG_INFO_MSG1(stateData, "Security is enabled. Notify client to authenticate and drop this connection and reconnect to port %d", cctlData->securedPort);
513
				message = ra_createMessage(RA_CONTROL_MESSAGE, 0);
513
				message = ra_createMessage(RA_CONTROL_MESSAGE, 0);
514
				command = ra_addCommandToMessage(message, NULL);
514
				command = ra_addCommandToMessage(message, NULL);
Lines 516-521 Link Here
516
				command->info.serverSecurityRequirements.securePort = cctlData->securedPort;
516
				command->info.serverSecurityRequirements.securePort = cctlData->securedPort;
517
				ra_forwardMessage(message, clientConnectionBlock);
517
				ra_forwardMessage(message, clientConnectionBlock);
518
				ra_destroyMessage(message, FALSE);
518
				ra_destroyMessage(message, FALSE);
519
				
520
				acPortRequestReply(clientConnectionBlock);	// send redirect to AC clients
521
				
519
				freeClientConnectionBlock(clientConnectionBlock);
522
				freeClientConnectionBlock(clientConnectionBlock);
520
			}
523
			}
521
			/*
524
			/*

Return to bug 187887