> Hi, > > > > We are using OPEN SSL library in our client server application. We are > using SSL_WRITE and SSL_READ api used to read and > > > > write operations between them. Connection is broken When server sends > very large message (more than 56K) using SSL_WRITE api. > > > > We fixed problem with set partial mode api like, > > > > SSL_CTX_set_mode(ctx,SSL_MODE_AUTO_RETRY | > SSL_MODE_ENABLE_PARTIAL_WRITE | SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER); > > > > After using this API, problem was resolved. But I want to know if any > impact using this api. Can you tell me what the limitation relevant to > message size? > Not using the above api would have been problematic if non blocking mode was set, which for some reason never hit for you so far. So having this is the rite thing to do..in terms of impact what do u mean? There is no limit on the ssl buffer size except that its an integral multiple of 1k. So u can programmatically set the read/write buffer size to what you want..but having it as an integral multiple of the SSL record size is advisable.
> > > please give me a quick reply, it's very urgent for us. > > > > > > Note: For local client everything is working fine. Problem occurs for > remote client only. > > > > Regards, > > Vinay > > > > > > > > > > > >