~mamarley/openconnect/+git/gitlab-main:epoll

Last commit made on 2021-07-01
Get this branch:
git clone -b epoll https://git.launchpad.net/~mamarley/openconnect/+git/gitlab-main

Branch merges

Branch information

Recent commits

304a7f2... by dwmw2

Clear epoll_fd after forking to background self

Otherwise we remove the events from the epoll_fd before we exit in
the parent process.

Signed-off-by: David Woodhouse <email address hidden>

2672d84... by dwmw2

Add SIGUSR2 to dtls-psk test

Signed-off-by: David Woodhouse <email address hidden>

dc86e96... by dwmw2

Fix epoll support for connection pause/restart

We need to actually remove the file descriptors from the epoll set.
Otherwise we get -EEXIST when adding them again (in the case of the
cmd_fd as we re-enter the main loop).

Signed-off-by: David Woodhouse <email address hidden>

85f1799... by dwmw2

Merge branch 'linux_kernel_coding_style' into 'master'

Fix Linux kernel coding style errors and warnings

See merge request openconnect/openconnect!229

a7c4374... by dwmw2

Merge branch 'include' into 'master'

Reorganize #include

See merge request openconnect/openconnect!228

fe795bf... by Dimitri Papadopoulos <email address hidden>

Reorganize #include

- Reorder header files as suggested here:
  https://stackoverflow.com/questions/2762568/c-c-include-header-file-order
  https://softwareengineering.stackexchange.com/questions/325549/c-header-file-order
- Remove duplicates
- Remove unused headers files
- Change "config.h" to <config.h>
- Include <winsock2.h> before openconnect.h, which is not entirely self-contained.

Signed-off-by: Dimitri Papadopoulos <email address hidden>

7080254... by Dimitri Papadopoulos <email address hidden>

Fix Linux kernel coding style errors and warnings

I had forgotten the header file in 0bef505c.

Signed-off-by: Dimitri Papadopoulos <email address hidden>

67a5126... by Dan Lenski

Merge branch 'automatically_enter_username_into_all_forms' into 'master'

With --user, enter username in all forms, not just the first

See merge request openconnect/openconnect!220

dba3377... by Dan Lenski

Update changelog

Signed-off-by: Daniel Lenski <email address hidden>

193aa75... by Dan Lenski

With --user, enter username in all forms, not just the first

Until now, the -u/--user=USERNAME option has caused the OpenConnect CLI to
automatically fill the username only in the *first* form where there is a
match field. This patch causes it to fill the username repeatedly
(including when a form is repeated due to an authentication failure).

As described by @DimitriPapadopoulos in #267:

> In many cases, I expect the authentication failure to be caused by an
> incorrect password, not an incorrect username
>
> Having to [re]enter the username, when it has already been specified from
> the command line or worse in a config file, is an annoyance. I suggest
> openconnect [re]prompts for the username only when it has been entered
> interactively from the start.

Signed-off-by: Daniel Lenski <email address hidden>