Skip to content

Commit ab04145

Browse files
authored
Merge branch 'main' into dependabot/go_modules/golang.org/x/crypto-0.17.0
2 parents 7fadeb5 + b7e2597 commit ab04145

24 files changed

+167
-66
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@ jobs:
2121
name: Linter
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v3
25-
- uses: actions/setup-go@v4
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-go@v5
2626
with:
2727
go-version: '1.21'
28-
cache: false
2928
- name: golangci-lint
30-
uses: golangci/golangci-lint-action@v3
29+
uses: golangci/golangci-lint-action@v4
3130
with:
32-
version: v1.51
31+
version: v1.57.2
3332

3433
build:
3534
name: build

.golangci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
run:
22
timeout: 10m
3-
skip-dirs:
3+
# deprecated config -
4+
# skip-dirs:
5+
# - gen
6+
# - vendor
7+
8+
issues:
9+
exclude-dirs:
410
- gen
511
- vendor
612

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.9.1 (April 15, 2024)
2+
* Preserve original body when resending https://github.com/quickfixgo/quickfix/pull/624
3+
14
## 0.9.0 (November 13, 2023)
25

36
### FEATURES

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test:
1919
linters-install:
2020
@golangci-lint --version >/dev/null 2>&1 || { \
2121
echo "installing linting tools..."; \
22-
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.50.1; \
22+
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.57.2; \
2323
}
2424

2525
lint: linters-install

accepter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121

2222
"github.com/quickfixgo/quickfix/config"
2323

24-
proxyproto "github.com/armon/go-proxyproto"
24+
proxyproto "github.com/pires/go-proxyproto"
2525
"github.com/stretchr/testify/assert"
2626
)
2727

acceptor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"strconv"
2626
"sync"
2727

28-
proxyproto "github.com/armon/go-proxyproto"
28+
proxyproto "github.com/pires/go-proxyproto"
2929

3030
"github.com/quickfixgo/quickfix/config"
3131
)

datadictionary/datadictionary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ func Parse(path string) (*DataDictionary, error) {
315315
func ParseSrc(xmlSrc io.Reader) (*DataDictionary, error) {
316316
doc := new(XMLDoc)
317317
decoder := xml.NewDecoder(xmlSrc)
318-
decoder.CharsetReader = func(encoding string, input io.Reader) (io.Reader, error) {
318+
decoder.CharsetReader = func(_ string, input io.Reader) (io.Reader, error) {
319319
return input, nil
320320
}
321321

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ go 1.21
55
require (
66
github.com/armon/go-proxyproto v0.1.0
77
github.com/mattn/go-sqlite3 v1.14.18
8+
github.com/pires/go-proxyproto v0.7.0
89
github.com/pkg/errors v0.9.1
910
github.com/shopspring/decimal v1.3.1
1011
github.com/stretchr/testify v1.8.4

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ github.com/mattn/go-sqlite3 v1.14.18/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S
2323
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
2424
github.com/montanaflynn/stats v0.6.6 h1:Duep6KMIDpY4Yo11iFsvyqJDyfzLF9+sndUKT+v64GQ=
2525
github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow=
26+
github.com/pires/go-proxyproto v0.7.0 h1:IukmRewDQFWC7kfnb66CSomk2q/seBuilHBYFwyq0Hs=
27+
github.com/pires/go-proxyproto v0.7.0/go.mod h1:Vz/1JPY/OACxWGQNIRY2BeyDmpoaWmEP40O9LbuiFR4=
2628
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
2729
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
2830
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=

in_session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ func (state inSession) resendMessages(session *session, beginSeqNo, endSeqNo int
253253
}
254254

255255
session.log.OnEventf("Resending Message: %v", sentMessageSeqNum)
256-
msgBytes = msg.build()
256+
msgBytes = msg.buildWithBodyBytes(msg.bodyBytes) // workaround for maintaining repeating group field order
257257
session.EnqueueBytesAndSend(msgBytes)
258258

259259
seqNum = sentMessageSeqNum + 1

0 commit comments

Comments
 (0)