<div dir="ltr">currently i am using socket for this implementation in c++ programming. can i use HTTPS post over SSL in c++. need suggestion<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br><br>Thanks & Regards,<div>Roushan Ara</div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Feb 2, 2018 at 10:26 AM,  <span dir="ltr"><<a href="mailto:openssl-users-request@openssl.org" target="_blank">openssl-users-request@openssl.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send openssl-users mailing list submissions to<br>
        <a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:openssl-users-request@openssl.org">openssl-users-request@openssl.<wbr>org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:openssl-users-owner@openssl.org">openssl-users-owner@openssl.<wbr>org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of openssl-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: DTLS multiple peer issue on shutdown (Salz, Rich)<br>
   2. Re: DTLS multiple peer issue on shutdown (Grace Priscilla Jero)<br>
   3. Re: DTLS multiple peer issue on shutdown (Salz, Rich)<br>
   4. usage of SSL_read() and SSL_write() for file      transfer<br>
      (Roushan Ara)<br>
   5. Re: usage of SSL_read() and SSL_write() for file transfer<br>
      (Viktor Dukhovni)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Thu, 1 Feb 2018 15:35:05 +0000<br>
From: "Salz, Rich" <<a href="mailto:rsalz@akamai.com">rsalz@akamai.com</a>><br>
To: Grace Priscilla Jero <<a href="mailto:grace.priscilla@gmail.com">grace.priscilla@gmail.com</a>>,<br>
        "<a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a>" <<a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a>><br>
Subject: Re: [openssl-users] DTLS multiple peer issue on shutdown<br>
Message-ID: <<a href="mailto:D9C8C713-A108-4D9A-8925-40BBFAC93A28@akamai.com">D9C8C713-A108-4D9A-8925-<wbr>40BBFAC93A28@akamai.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Doesn?t shutdown close the socket?<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mta.openssl.org/pipermail/openssl-users/attachments/20180201/ef74f6f7/attachment-0001.html" rel="noreferrer" target="_blank">http://mta.openssl.org/<wbr>pipermail/openssl-users/<wbr>attachments/20180201/ef74f6f7/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 2 Feb 2018 00:04:35 +0530<br>
From: Grace Priscilla Jero <<a href="mailto:grace.priscilla@gmail.com">grace.priscilla@gmail.com</a>><br>
To: "Salz, Rich" <<a href="mailto:rsalz@akamai.com">rsalz@akamai.com</a>><br>
Cc: "<a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a>" <<a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a>><br>
Subject: Re: [openssl-users] DTLS multiple peer issue on shutdown<br>
Message-ID:<br>
        <<a href="mailto:CAGfOHcVfaSRzoWB-3s2Fw8Xku%2BrKuZSiyUwZfbbpRNEE7vUHPg@mail.gmail.com">CAGfOHcVfaSRzoWB-3s2Fw8Xku+<wbr>rKuZSiyUwZfbbpRNEE7vUHPg@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
The shutdown does not close the socket. The peer close is not intimated to<br>
server when there are 2 peers to the server and the server is serving the<br>
other peer.<br>
<br>
Thanks,<br>
Grace<br>
On Thu, Feb 1, 2018 at 9:05 PM, Salz, Rich <<a href="mailto:rsalz@akamai.com">rsalz@akamai.com</a>> wrote:<br>
<br>
> Doesn?t shutdown close the socket?<br>
><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mta.openssl.org/pipermail/openssl-users/attachments/20180202/6098fe2d/attachment-0001.html" rel="noreferrer" target="_blank">http://mta.openssl.org/<wbr>pipermail/openssl-users/<wbr>attachments/20180202/6098fe2d/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 1 Feb 2018 18:35:24 +0000<br>
From: "Salz, Rich" <<a href="mailto:rsalz@akamai.com">rsalz@akamai.com</a>><br>
To: Grace Priscilla Jero <<a href="mailto:grace.priscilla@gmail.com">grace.priscilla@gmail.com</a>><br>
Cc: "<a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a>" <<a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a>><br>
Subject: Re: [openssl-users] DTLS multiple peer issue on shutdown<br>
Message-ID: <<a href="mailto:B67B9102-2C9D-41D2-9553-6261DD05CDE3@akamai.com">B67B9102-2C9D-41D2-9553-<wbr>6261DD05CDE3@akamai.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Sorry, then, I?ve exhausted my knowledge-base.  Hopefully others will have more.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mta.openssl.org/pipermail/openssl-users/attachments/20180201/b9fc857d/attachment-0001.html" rel="noreferrer" target="_blank">http://mta.openssl.org/<wbr>pipermail/openssl-users/<wbr>attachments/20180201/b9fc857d/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 2 Feb 2018 10:12:10 +0530<br>
From: Roushan Ara <<a href="mailto:roushan.ara@skanray.com">roushan.ara@skanray.com</a>><br>
To: <a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a><br>
Subject: [openssl-users] usage of SSL_read() and SSL_write() for file<br>
        transfer<br>
Message-ID:<br>
        <<a href="mailto:CADkrVDgpd8SxatbZ6nSwcAtAZR%2BzRYLxdFnRK0rSJur9uKZVJg@mail.gmail.com">CADkrVDgpd8SxatbZ6nSwcAtAZR+<wbr>zRYLxdFnRK0rSJur9uKZVJg@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi All,<br>
currently i am using openssl for client and server communication for file<br>
transfer. i am facing some issue regarding the writing the content of<br>
file.my requirement is i have to send the whole content of some specified<br>
file to server for that i am using SSL_write(). i can achieve this using<br>
SSL_write() in a while loop but my requirement is i have to use single<br>
SSL_write() for sending whole content of file and single SSL_read  at the<br>
server to receive the whole content of the file.because in that message<br>
itself we  have to specify some id so that it can be identified at the<br>
server to indicate that it is file reading. so i need to send single<br>
message with full content of file in a buffer. because of the maximum<br>
limitation of SSL_write() we are not able to send more than 16384 bytes.<br>
Could somebody suggest s how can i use SSL_write() for the writing the<br>
whole content of text file in a single message without using any while loop.<br>
<br>
Thanks in Advance.<br>
<br>
<br>
Thanks & Regards,<br>
Roushan Ara<br>
<br>
--<br>
<br>
<br>
--<br>
*Please consider the Environment before printing this e-mail.*<br>
<br>
The information contained in this message (including any attachments) is<br>
confidential and may be privileged or otherwise protected from disclosure.<br>
If you are not the intended recipient, you must not copy this message or<br>
attachment or disclose the contents to any other person.  If you have<br>
received this transmission in error, please notify the sender immediately<br>
by return e-mail and permanently delete this message and any attachments<br>
from your system.  Any dissemination, use, review, distribution, printing<br>
or copying of this message in whole or in part is strictly prohibited.<br>
Please note that e-mails are susceptible to change.<br>
<br>
*SKANRAY* <<a href="http://www.skanray.com" rel="noreferrer" target="_blank">http://www.skanray.com</a>>*(<wbr>including its group of companies) shall<br>
not be liable for any omission or error in the message, improper or<br>
incomplete transmission of the information contained in this communication<br>
or for any delay in its receipt or damage to your system. * *SKANRAY*<br>
<<a href="http://www.skanray.com" rel="noreferrer" target="_blank">http://www.skanray.com</a>>*(or its group of companies) does not guarantee<br>
that the integrity of this communication has been maintained or that this<br>
communication is free of viruses, interceptions or interference.*<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mta.openssl.org/pipermail/openssl-users/attachments/20180202/5c885cfa/attachment-0001.html" rel="noreferrer" target="_blank">http://mta.openssl.org/<wbr>pipermail/openssl-users/<wbr>attachments/20180202/5c885cfa/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 1 Feb 2018 23:56:37 -0500<br>
From: Viktor Dukhovni <<a href="mailto:openssl-users@dukhovni.org">openssl-users@dukhovni.org</a>><br>
To: "<a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a>" <<a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a>><br>
Subject: Re: [openssl-users] usage of SSL_read() and SSL_write() for<br>
        file transfer<br>
Message-ID: <<a href="mailto:02B15DAF-D23D-4F1E-8595-EE7A5BC7D9B7@dukhovni.org">02B15DAF-D23D-4F1E-8595-<wbr>EE7A5BC7D9B7@dukhovni.org</a>><br>
Content-Type: text/plain;       charset=us-ascii<br>
<br>
<br>
<br>
> On Feb 1, 2018, at 11:42 PM, Roushan Ara <<a href="mailto:roushan.ara@skanray.com">roushan.ara@skanray.com</a>> wrote:<br>
><br>
> currently i am using openssl for client and server communication for file transfer. i am facing some issue regarding the writing the content of file.my requirement is i have to send the whole content of some specified file to server for that i am using SSL_write(). i can achieve this using SSL_write() in a while loop but my requirement is i have to use single SSL_write() for sending whole content of file and single SSL_read  at the server to receive the whole content of the file.because in that message itself we  have to specify some id so that it can be identified at the server to indicate that it is file reading. so i need to send single message with full content of file in a buffer. because of the maximum limitation of SSL_write() we are not able to send more than 16384 bytes.<br>
> Could somebody suggest s how can i use SSL_write() for the writing the whole content of text file in a single message without using any while loop.<br>
<br>
Your simplest solution is to use HTTP POST over SSL to create the<br>
illusion of a single message layered over a underlying reliable<br>
bytestream.  Don't write your own code, consider using libcurl<br>
or an HTTPS library that best meets your needs.<br>
<br>
--<br>
        Viktor.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
openssl-users mailing list<br>
<a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a><br>
<a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of openssl-users Digest, Vol 39, Issue 2<br>
******************************<wbr>**************<br>
</blockquote></div><br></div>

<br>
<img src="http://skanray.com/sites/default/files/email_banner/AH%202018%20email%20sign.jpg"><br>
<br>
<b><font color="green" size="2">Please consider the Environment before printing this e-mail.</font></b><br><br><font color="gray" size="1">


        
        
        
        The information contained in this message 
(including any attachments) is confidential and may be privileged or 
otherwise protected from disclosure.  If you are not the intended 
recipient, you must not copy this message or attachment or disclose the 
contents to any other person.  If you have received this transmission in
 error, please notify the sender immediately by return e-mail and 
permanently delete this message and any attachments from your system.  
Any dissemination, use, review, distribution, printing or copying of 
this message in whole or in part is strictly prohibited.  Please note 
that e-mails are susceptible to change. <br> <br><a href="http://www.skanray.com" target="_blank"><b>SKANRAY</b></a><i>(including
 its group of companies) shall not be liable for any omission or error 
in the message, improper or incomplete transmission of the information 
contained in this communication or for any delay in its receipt or 
damage to your system. </i> <a href="http://www.skanray.com" target="_blank"><b>SKANRAY</b></a><i>(or
 its group of companies) does not guarantee that the integrity of this 
communication has been maintained or that this communication is free of 
viruses, interceptions or interference.</i></font>