RTC Forums
November 01, 2024, 08:18:02 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
Determining if request came in via HTTP or HTTPS
Pages: [
1
]
« previous
next »
Print
Author
Topic: Determining if request came in via HTTP or HTTPS (Read 4165 times)
GregStevenson
RTC Expired
Posts: 5
Determining if request came in via HTTP or HTTPS
«
on:
July 08, 2015, 02:48:42 PM »
Given a TRtcDataServer object is there a way to navigate to its associated TRtcHttpServer object to see if the CryptPlugin in nil or not?
Is there a better way to determine SSL status of a Request?
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Determining if request came in via HTTP or HTTPS
«
Reply #1 on:
July 08, 2015, 07:15:53 PM »
Since each TRtcHttpServer component will be running on adifferent port, you can use the
LocalPort
property of the TRtcDataServer(Sender) object to check where the connection arrived.
Best Regards,
Danijel Tkalcec
Logged
GregStevenson
RTC Expired
Posts: 5
Re: Determining if request came in via HTTP or HTTPS
«
Reply #2 on:
July 08, 2015, 11:55:51 PM »
LocalPort plus LocalAddr allows me to map back to original assignments as to whether the socket is a secure connection or not.
Thanks much for the info!!
--Greg
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...