netops: on SSL teardown only send shutdown alert
netops: on SSL teardown only send shutdown alert

According to man 3 SSL_shutdown / TLS, "If a unidirectional shutdown is
enough (the underlying connection shall be closed anyway), this first
call to SSL_shutdown() is sufficient."

Currently, an unidirectional shutdown is enough, since
gitno_ssl_teardown is called by gitno_close only. Do so to avoid further
errors (by misbehaving peers for example).

Fixes #1129.

oaastest/libgit2,Corillian/libgit2,yongthecoder/libgit2,KTXSoftware/libgit2,Corillian/libgit2,kenprice/libgit2,yosefhackmon/libgit2,stewid/libgit2,zodiac/libgit2.js,Corillian/libgit2,yongthecoder/libgit2,KTXSoftware/libgit2,JIghtuse/libgit2,Corillian/libgit2,rcorre/libgit2,mingyaaaa/libgit2,spraints/libgit2,kissthink/libgit2,Aorjoa/libgit2_maked_lib,nokiddin/libgit2,since2014/libgit2,stewid/libgit2,sim0629/libgit2,falqas/libgit2,skabel/manguse,kenprice/libgit2,sim0629/libgit2,dleehr/libgit2,whoisj/libgit2,spraints/libgit2,jflesch/libgit2-mariadb,raybrad/libit2,yongthecoder/libgit2,Aorjoa/libgit2_maked_lib,linquize/libgit2,maxiaoqian/libgit2,jflesch/libgit2-mariadb,sygool/libgit2,nacho/libgit2,KTXSoftware/libgit2,oaastest/libgit2,mhp/libgit2,linquize/libgit2,falqas/libgit2,jeffhostetler/public_libgit2,iankronquist/libgit2,sygool/libgit2,jamieleecool/ptest,sygool/libgit2,nokiddin/libgit2,evhan/libgit2,whoisj/libgit2,stewid/libgit2,Tousiph/Demo1,MrHacky/libgit2,dleehr/libgit2,Snazz2001/libgit2,Corillian/libgit2,magnus98/TEST,evhan/libgit2,mrksrm/Mingijura,t0xicCode/libgit2,magnus98/TEST,magnus98/TEST,mingyaaaa/libgit2,falqas/libgit2,since2014/libgit2,kissthink/libgit2,rcorre/libgit2,swisspol/DEMO-libgit2,Snazz2001/libgit2,jeffhostetler/public_libgit2,oaastest/libgit2,sim0629/libgit2,Aorjoa/libgit2_maked_lib,kissthink/libgit2,mingyaaaa/libgit2,Tousiph/Demo1,since2014/libgit2,evhan/libgit2,Snazz2001/libgit2,mhp/libgit2,chiayolin/libgit2,t0xicCode/libgit2,jamieleecool/ptest,stewid/libgit2,yosefhackmon/libgit2,sygool/libgit2,ardumont/libgit2,mingyaaaa/libgit2,magnus98/TEST,evhan/libgit2,Snazz2001/libgit2,nacho/libgit2,MrHacky/libgit2,joshtriplett/libgit2,chiayolin/libgit2,whoisj/libgit2,yosefhackmon/libgit2,Aorjoa/libgit2_maked_lib,jeffhostetler/public_libgit2,ardumont/libgit2,swisspol/DEMO-libgit2,iankronquist/libgit2,skabel/manguse,raybrad/libit2,sim0629/libgit2,mrksrm/Mingijura,leoyanggit/libgit2,falqas/libgit2,ardumont/libgit2,JIghtuse/libgit2,mhp/libgit2,skabel/manguse,rcorre/libgit2,whoisj/libgit2,nacho/libgit2,t0xicCode/libgit2,MrHacky/libgit2,saurabhsuniljain/libgit2,dleehr/libgit2,saurabhsuniljain/libgit2,claudelee/libgit2,amyvmiwei/libgit2,skabel/manguse,zodiac/libgit2.js,Tousiph/Demo1,joshtriplett/libgit2,saurabhsuniljain/libgit2,oaastest/libgit2,iankronquist/libgit2,claudelee/libgit2,yosefhackmon/libgit2,mhp/libgit2,nokiddin/libgit2,skabel/manguse,mrksrm/Mingijura,sygool/libgit2,jflesch/libgit2-mariadb,jeffhostetler/public_libgit2,jeffhostetler/public_libgit2,KTXSoftware/libgit2,leoyanggit/libgit2,JIghtuse/libgit2,mingyaaaa/libgit2,ardumont/libgit2,swisspol/DEMO-libgit2,mcanthony/libgit2,mrksrm/Mingijura,t0xicCode/libgit2,Snazz2001/libgit2,kenprice/libgit2,nokiddin/libgit2,claudelee/libgit2,yosefhackmon/libgit2,since2014/libgit2,rcorre/libgit2,maxiaoqian/libgit2,rcorre/libgit2,since2014/libgit2,Tousiph/Demo1,leoyanggit/libgit2,saurabhsuniljain/libgit2,jflesch/libgit2-mariadb,swisspol/DEMO-libgit2,JIghtuse/libgit2,saurabhsuniljain/libgit2,Tousiph/Demo1,oaastest/libgit2,jeffhostetler/public_libgit2,magnus98/TEST,MrHacky/libgit2,linquize/libgit2,joshtriplett/libgit2,leoyanggit/libgit2,chiayolin/libgit2,zodiac/libgit2.js,stewid/libgit2,stewid/libgit2,amyvmiwei/libgit2,yongthecoder/libgit2,claudelee/libgit2,nokiddin/libgit2,mrksrm/Mingijura,mingyaaaa/libgit2,oaastest/libgit2,chiayolin/libgit2,whoisj/libgit2,amyvmiwei/libgit2,jflesch/libgit2-mariadb,amyvmiwei/libgit2,chiayolin/libgit2,KTXSoftware/libgit2,linquize/libgit2,maxiaoqian/libgit2,t0xicCode/libgit2,spraints/libgit2,spraints/libgit2,since2014/libgit2,iankronquist/libgit2,raybrad/libit2,zodiac/libgit2.js,whoisj/libgit2,yosefhackmon/libgit2,nokiddin/libgit2,Corillian/libgit2,kissthink/libgit2,rcorre/libgit2,maxiaoqian/libgit2,linquize/libgit2,leoyanggit/libgit2,mcanthony/libgit2,dleehr/libgit2,KTXSoftware/libgit2,kenprice/libgit2,maxiaoqian/libgit2,raybrad/libit2,yongthecoder/libgit2,iankronquist/libgit2,sim0629/libgit2,mcanthony/libgit2,nacho/libgit2,skabel/manguse,mhp/libgit2,jamieleecool/ptest,mcanthony/libgit2,swisspol/DEMO-libgit2,dleehr/libgit2,Tousiph/Demo1,Aorjoa/libgit2_maked_lib,leoyanggit/libgit2,joshtriplett/libgit2,magnus98/TEST,jflesch/libgit2-mariadb,JIghtuse/libgit2,ardumont/libgit2,amyvmiwei/libgit2,amyvmiwei/libgit2,jamieleecool/ptest,spraints/libgit2,kissthink/libgit2,falqas/libgit2,kissthink/libgit2,mhp/libgit2,sim0629/libgit2,linquize/libgit2,MrHacky/libgit2,maxiaoqian/libgit2,saurabhsuniljain/libgit2,sygool/libgit2,joshtriplett/libgit2,mcanthony/libgit2,JIghtuse/libgit2,joshtriplett/libgit2,Snazz2001/libgit2,MrHacky/libgit2,mcanthony/libgit2,claudelee/libgit2,claudelee/libgit2,ardumont/libgit2,falqas/libgit2,yongthecoder/libgit2,swisspol/DEMO-libgit2,spraints/libgit2,zodiac/libgit2.js,iankronquist/libgit2,kenprice/libgit2,kenprice/libgit2,t0xicCode/libgit2,dleehr/libgit2,raybrad/libit2,mrksrm/Mingijura,chiayolin/libgit2