Skip to content

Commit

Permalink
DoH random goaway
Browse files Browse the repository at this point in the history
- Add clang-format and format code
- `dumdohd`: Add `-D <percent>` to randomly disconnect using HTTP/2 GOAWAY
  • Loading branch information
jelu committed Aug 3, 2021
1 parent 69e8966 commit c2c8bf3
Show file tree
Hide file tree
Showing 4 changed files with 927 additions and 819 deletions.
6 changes: 6 additions & 0 deletions .clang-format
@@ -0,0 +1,6 @@
BasedOnStyle: webkit
IndentWidth: 4
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignOperands: true
SortIncludes: false
6 changes: 6 additions & 0 deletions fmt.sh
@@ -0,0 +1,6 @@
#!/bin/sh

clang-format \
-style=file \
-i \
src/*.c

0 comments on commit c2c8bf3

Please sign in to comment.