[GIT PULL v2] Refactor signal handling, change log levels, API updates

Kevin Cernekee cernekee at gmail.com
Thu Jun 12 22:48:46 PDT 2014


v1->v2:

Get rid of sig_caught; have openconnect_mainloop() indicate whether the
user abort has ended the session (SIGINT) or is merely "detaching", to
return later (SIGHUP).

Since there is no sig_caught anymore, SIGTERM reverts back to the default
handler.

The Windows build was not tested (I hope all platforms have ECONNABORTED).


The following changes since commit ff214c69c2602669e14813c9ec0cf301849df690:

  Import translations from GNOME (2014-04-28 13:23:56 +0100)

are available in the git repository at:

  git://github.com/cernekee/openconnect signal-20140612

for you to fetch changes up to ab4abdcdf79685ee433a86184a4b6ce7783d8860:

  Change most PRG_TRACE prints to PRG_DEBUG (2014-06-12 22:29:14 -0700)

----------------------------------------------------------------
Kevin Cernekee (12):
      jni: Sync jni.c and LibOpenConnect.java
      jni: Change setPFS() to use a boolean argument
      man: Add hints on using --pfs option
      Export openconnect_set_pfs() and bump API version to 3.3
      main: Use openconnect_set_pfs() instead of touching vpninfo->pfs
      Add "new library function checklist"
      www: Update changelog
      android: Update to GnuTLS 3.2.15
      library: Add openconnect_set_dpd()
      Add OC_CMD_DETACH for "reconnectable abort"
      main: Refactor signal handling
      Change most PRG_TRACE prints to PRG_DEBUG

 ...read-file-fix-missing-SIZE_MAX-on-Android.patch |   48 -----------
 android/Makefile                                   |    5 +-
 auth.c                                             |    6 +-
 cstp.c                                             |   18 ++---
 dtls.c                                             |   20 ++---
 gnutls.c                                           |   14 ++--
 gnutls_tpm.c                                       |    2 +-
 http.c                                             |   10 +--
 .../infradead/libopenconnect/LibOpenConnect.java   |    2 +
 jni.c                                              |   30 ++++---
 libopenconnect.map.in                              |    6 ++
 library.c                                          |    9 +++
 main.c                                             |   85 +++++++++++++-------
 mainloop.c                                         |   14 +++-
 openconnect-internal.h                             |    1 +
 openconnect.8.in                                   |   25 +++++-
 openconnect.h                                      |   30 ++++++-
 openssl.c                                          |   18 ++---
 ssl.c                                              |    4 +-
 tun-win32.c                                        |    6 +-
 www/changelog.xml                                  |    7 +-
 xml.c                                              |    2 +-
 22 files changed, 214 insertions(+), 148 deletions(-)
 delete mode 100644 android/0001-gl-stdint-read-file-fix-missing-SIZE_MAX-on-Android.patch
-- 
1.7.9.5



More information about the openconnect-devel mailing list