File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
git-transport/src/client/blocking_io/http Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ pub fn new() -> (
140
140
proxy_auth_method,
141
141
user_agent,
142
142
proxy_authenticate,
143
+ verbose,
143
144
backend : _,
144
145
} ,
145
146
} in req_recv
@@ -152,6 +153,7 @@ pub fn new() -> (
152
153
for header in extra_headers {
153
154
headers. append ( & header) ?;
154
155
}
156
+ handle. verbose ( verbose) ?;
155
157
156
158
let mut proxy_auth_action = None ;
157
159
if let Some ( proxy) = proxy {
Original file line number Diff line number Diff line change @@ -123,6 +123,8 @@ pub struct Options {
123
123
/// If `None`, this typically defaults to 2 minutes to 5 minutes.
124
124
/// Refers to `gitoxide.http.connectTimeout`.
125
125
pub connect_timeout : Option < std:: time:: Duration > ,
126
+ /// If enabled, emit additional information about connections and possibly the data received or written.
127
+ pub verbose : bool ,
126
128
/// Backend specific options, if available.
127
129
pub backend : Option < Arc < Mutex < dyn Any + Send + Sync + ' static > > > ,
128
130
}
You can’t perform that action at this time.
0 commit comments