mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-07 16:40:50 +08:00
fix: 解决ui2不兼容的问题
This commit is contained in:
@@ -41,6 +41,7 @@ func NewDriverSession() *DriverSession {
|
||||
timeout := 30 * time.Second
|
||||
session := &DriverSession{
|
||||
ctx: context.Background(),
|
||||
ID: "<SessionNotInit>",
|
||||
timeout: timeout,
|
||||
client: &http.Client{
|
||||
Timeout: timeout,
|
||||
@@ -53,6 +54,7 @@ func NewDriverSession() *DriverSession {
|
||||
|
||||
type DriverSession struct {
|
||||
ctx context.Context
|
||||
ID string
|
||||
client *http.Client
|
||||
timeout time.Duration
|
||||
maxRetry int
|
||||
|
||||
Reference in New Issue
Block a user