Page 1 of 1

ReadS19ApplicationCodeFromStream over SSL (HTTPS)

Posted: Tue Jul 19, 2016 6:55 pm
by dnishimura
Has anyone tried using ReadS19ApplicationCodeFromStream over an SSL stream? Is it even possible?

Thanks.

Re: ReadS19ApplicationCodeFromStream over SSL (HTTPS)

Posted: Wed Jul 20, 2016 6:03 am
by pbreed
Yes its been done. Should just work....
Using the nburn\examples\standardstack\web\postapplicationupdate with ssl server should do just that...

Re: ReadS19ApplicationCodeFromStream over SSL (HTTPS)

Posted: Fri Jul 22, 2016 2:24 pm
by dnishimura
Actually I wanted the update to originate in the other direction... have the Netburner do a HTTPS GET for the s19 file. I was able to get it working. The only difference was that I read the HTTPS stream until the end of the HTTP header and then pass the FD to ReadS19ApplicationCodeFromStream. Unfortunately, it wouldn't work if the HTTP Transfer-Encoding is chunked, so I'm only able to do it if the web server serves it up not chunked.

Thanks for pointing me to the example.