Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs of the openssl-related on the abyss server in the advanced edition #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Takuya-Kanda
Copy link

I am using the xmlrpc-c library for the openssl of the abyss server in the advanced edition.
But some glitches occurred in using the library.
So I have fixed them.
Could you please check and pull it.

 * Every time the abyss server receives HTTP requests from a client
   underlying the SSL connection, file descriptors used in the socket
   API increases. So I'm fixing that a file descriptor is closed when 
   channelDestroy() is called. Along with that, I'm fixing that the 
   file descriptor is set to channelOpenSslP->fd in 
   makeChannelFromSsl().
 *Memory is leaked because memory of unused the channelOpenSslP object
  not been freed. So I'm fix that unused the channelOpenSslP is deleted 
  in createChannelFromAcceptedConn()
 * Memory is leaked because memory of allocated the sslP object of SSL 
   structure not been freed. So I'm fix that allocated the sslP is 
   freed by SSL_free() in channelDestroy()
 * Since bin files are not installed to a directory by the specified
   prefix.
 * Since openssl-related header file is not installed, 
   even if HAVE_OPENSSL is "yes".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant