Skip to content

Commit

Permalink
v1.3.4.3
Browse files Browse the repository at this point in the history
Set more timers.
  • Loading branch information
ericlaw1979 committed Jan 25, 2023
1 parent f8a3065 commit 5fda507
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FiddlerImportNetlog/FiddlerInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace FiddlerImportNetlog
{
[ProfferFormat("NetLog JSON",
"Chromium's JSON-based event log format (v1.3.4.2). See https://textslashplain.com/2020/01/17/capture-network-logs-from-edge-and-chrome/ for more info.",
"Chromium's JSON-based event log format (v1.3.4.3). See https://textslashplain.com/2020/01/17/capture-network-logs-from-edge-and-chrome/ for more info.",
// We handle import of JSON files, whether uncompressed, or compressed with ZIP or GZ. I'm not completely sure I remember the implications
// of declaring .gz here, nor why .zip isn't mentioned. Is this about the drag/drop import feature?
".json;.gz"
Expand Down
4 changes: 3 additions & 1 deletion FiddlerImportNetlog/Importer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,6 @@ private void ParseSessionsFromBucket(KeyValuePair<int, List<Hashtable>> kvpUR)
(iType == NetLogMagics.FAKE_RESPONSE_HEADERS_CREATED))
{
ArrayList alHeaderLines = htParams["headers"] as ArrayList;
oTimers.ServerBeginResponse = oTimers.FiddlerGotResponseHeaders = GetTimeStamp(htEvent["time"], baseTime);
if (null != alHeaderLines && alHeaderLines.Count > 0)
{
string sResponse = string.Join("\r\n", alHeaderLines.Cast<string>().ToArray());
Expand All @@ -1473,6 +1472,8 @@ private void ParseSessionsFromBucket(KeyValuePair<int, List<Hashtable>> kvpUR)
}
}
}

oTimers.ClientBeginResponse = oTimers.FiddlerGotResponseHeaders = oTimers.ServerBeginResponse = GetTimeStamp(htEvent["time"], baseTime);
continue;
}

Expand All @@ -1490,6 +1491,7 @@ private void ParseSessionsFromBucket(KeyValuePair<int, List<Hashtable>> kvpUR)
{
cbDroppedResponseBody += getIntValue(htParams["byte_count"], 0);
}
oTimers.ServerDoneResponse = oTimers.ClientDoneResponse = GetTimeStamp(htEvent["time"], baseTime);
continue;
}
}
Expand Down
5 changes: 4 additions & 1 deletion FiddlerImportNetlog/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[assembly: AssemblyCopyright("Copyright ©2023 Eric Lawrence")]
[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.3.4.2")] // ALWAYS UPDATE THE VERSION in the [ProfferFormat] attribute in FiddlerInterface.cs to match!
[assembly: AssemblyVersion("1.3.4.3")] // ALWAYS UPDATE THE VERSION in the [ProfferFormat] attribute in FiddlerInterface.cs to match!
[assembly: Fiddler.RequiredVersion("4.6.0.0")]


Expand All @@ -20,6 +20,9 @@ HTTP_STREAM_JOB has a binding between the request and the socket. Hook them up s
--> source_dependency = 1701 (URL_REQUEST)
*/

// v1.3.4.3
// Set oTimers' values for ClientBeginResponse, ClientDoneResponse, and ServerDoneResponse so Timeline view works better.

// v1.3.4.2
// When renaming Transfer-Encoding/Chunk-Encoding headers, set Content-Length to enhance AutoResponder playback
// Update copyright to 2023
Expand Down

0 comments on commit 5fda507

Please sign in to comment.