File tree Expand file tree Collapse file tree 3 files changed +183
-105
lines changed Expand file tree Collapse file tree 3 files changed +183
-105
lines changed Original file line number Diff line number Diff line change 55 .fingerprint = 0xda130f3af836cea0 ,
66 .dependencies = .{
77 .tls = .{
8- .url = "https://github.com/ianic/tls.zig/archive/b29a8b45fc59fc2d202769c4f54509bb9e17d0a2 .tar.gz" ,
9- .hash = "tls-0.1.0-ER2e0uAxBQDm_TmSDdbiiyvAZoh4ejlDD4hW8Fl813xE " ,
8+ .url = "https://github.com/ianic/tls.zig/archive/8250aa9184fbad99983b32411bbe1a5d2fd6f4b7 .tar.gz" ,
9+ .hash = "tls-0.1.0-ER2e0pU3BQB-UD2_s90uvppceH_h4KZxtHCrCct8L054 " ,
1010 },
1111 .tigerbeetle_io = .{
1212 .url = "https://github.com/lightpanda-io/tigerbeetle-io/archive/61d9652f1a957b7f4db723ea6aa0ce9635e840ce.tar.gz" ,
Original file line number Diff line number Diff line change @@ -218,7 +218,9 @@ pub const Mime = struct {
218218
219219 fn parseAttributeValue (arena : Allocator , value : []const u8 ) ! []const u8 {
220220 if (value [0 ] != '"' ) {
221- return value ;
221+ // almost certainly referenced from an http.Request which has its
222+ // own lifetime.
223+ return arena .dupe (u8 , value );
222224 }
223225
224226 // 1 to skip the opening quote
You can’t perform that action at this time.
0 commit comments