Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		
- 
				
				@msdsk "we can't change that, our framework does not have this option"
 
 ↑↑ I've heard it far too many times. Leading to libraries/frameworks being raped the amateur way.
 
 Your comment has merit. But it's not a rule that it's OK to give away control of the flow.
- 
				
				@msdsk I've done it myself as well. Adding a cronjob to launch GDB, attach to a Java process to close a FD linked to a TCP socket to an HTTP resource, because there was no way to specify a TCP Read Timeout in the framework we used.
- 
				
				OpenSSL has a library...
 
 Or what is meant by flow?
 
 I could understand if someone started a CLI to run openssl with data given to stdin that that is a complete loss of data flow...
 ("Things I've seen" trademark)
 
 But in a library? Why...?
Related Rants
- 
						
							 xjose97x20Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop. xjose97x20Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
- 
						
							 Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ... Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
- 
						
							 sam966911 sam966911 Hats off to this lady .... I would have just flipped the machine Hats off to this lady .... I would have just flipped the machine






Found another gem in the code-base I've been given to troubleshoot.
Let's call recv(), get the TLS encrypted message, and then call BIO_write() and SSL_read() instead of offloading it to OpenSSL.
rant
c++