Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
obfsvpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
obfsvpn
Commits
2b5b2bff
Commit
2b5b2bff
authored
3 months ago
by
cyberta
Committed by
cyberta
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
remove unused parameter in GetQUICDialer
parent
5156eb77
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!72
remove unused parameter in GetQUICDialer
Pipeline
#264960
passed with warnings
1 month ago
Stage: test
Stage: build
Stage: release
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/client.go
+1
-1
1 addition, 1 deletion
client/client.go
obfsvpn/quic.go
+1
-1
1 addition, 1 deletion
obfsvpn/quic.go
with
2 additions
and
2 deletions
client/client.go
+
1
−
1
View file @
2b5b2bff
...
...
@@ -242,7 +242,7 @@ func (c *Client) createObfs4Connection(obfs4Endpoint *Obfs4Config) (*Obfs4Conn,
if
c
.
kcpConfig
.
Enabled
{
obfs4Dialer
.
DialFunc
=
obfsvpn
.
GetKCPDialer
(
c
.
kcpConfig
,
c
.
log
)
}
else
if
c
.
quicConfig
.
Enabled
{
obfs4Dialer
.
DialFunc
=
obfsvpn
.
GetQUICDialer
(
ctx
,
c
.
quicConfig
,
c
.
log
)
obfs4Dialer
.
DialFunc
=
obfsvpn
.
GetQUICDialer
(
ctx
,
c
.
log
)
}
c
.
log
(
"Dialing remote: %v"
,
obfs4Endpoint
.
Remote
)
...
...
This diff is collapsed.
Click to expand it.
obfsvpn/quic.go
+
1
−
1
View file @
2b5b2bff
...
...
@@ -64,7 +64,7 @@ func DefaultQUICConfig() *QUICConfig {
}
}
func
GetQUICDialer
(
ctx
context
.
Context
,
quicConfig
QUICConfig
,
logger
func
(
format
string
,
a
...
interface
{}))
func
(
network
,
address
string
)
(
net
.
Conn
,
error
)
{
func
GetQUICDialer
(
ctx
context
.
Context
,
logger
func
(
format
string
,
a
...
interface
{}))
func
(
network
,
address
string
)
(
net
.
Conn
,
error
)
{
quicConf
:=
&
quic
.
Config
{}
return
func
(
network
,
address
string
)
(
net
.
Conn
,
error
)
{
tlsConf
:=
&
tls
.
Config
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment