grtswt

Results 5 comments of grtswt

The logging function I would like to use is like this: ```PowerShell $logfile=$BaseDir + "\logs\http-" + (get-date).ToString("yyyy-MM-dd") + ".log" '{0} - {1} [{2}] "{3}" {4} {5}' -f $Request.clientIP,$Request.user,$Request.timestamp.ToString("yyyy-MM-dd HH:mm:ss"),$Request.url,$status,$size|out-file -Encoding...

I'm using four threads. And I think in this case that only one was busy at this time. Lets say that I use `invoke-restmethod` to call the URL. If the...

I'm using Pode 2.9.0 Windows server 2019 pwsh 7.3.9 APIServer ```powershell import-module Pode #Import-Module -Name Pode.Kestrel Import-Module -Name PSHTML #Import-Module ActiveDirectory $sysRoot = (get-item $PSScriptRoot).FullName write-host "Starting" #Start-PodeServer -ListenerType Kestrel...

I can confirm that it works if I turn off encryption. While using encryption, I noticed that cURL gave fewer errors. But I only tried that with 20000 repetitions. Might...

I have done some further tests. When using cURL: using localhost: ~300ms per call using 127.0.0.1: ~5,7ms per call When using invoke-restmethod: using localhost: ~1025ms per call using 127.0.0.1: ~6,3ms...