stakach / IIS-X-Sendfile-plugin

Provides X-Sendfile functionality for IIS7.x
MIT License
22 stars 18 forks source link

serve large file in video tag #10

Open itlvlup opened 1 month ago

itlvlup commented 1 month ago

see error below :

[ArgumentOutOfRangeException: Le paramètre de taille doit être compris entre zéro et la valeur Int32 maximale. Nom du paramètre : size La valeur réelle était 4693829844.] System.Web.HttpFileResponseElement..ctor(String filename, Int64 offset, Int64 size, Boolean isImpersonating, Boolean useTransmitFile, Boolean supportsLongTransmitFile) +4397266 System.Web.HttpWriter.WriteFile(String filename, Int64 offset, Int64 size) +101 System.Web.HttpResponse.WriteFile(String filename, Int64 offset, Int64 size) +168 XSendfile.XSendfileHttpModule.RangeDownload(String fullpath, HttpContext context) in C:\Python27_64\Lib\r4a\etc\XSendfile\XSendfile\XSendfileHttpModule.cs:233 XSendfile.XSendfileHttpModule.context_EndRequest(Object sender, EventArgs e) in C:\Python27_64\Lib\r4a\etc\XSendfile\XSendfile\XSendfileHttpModule.cs:141 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +139 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88

stakach commented 1 month ago

happy to accept pull requests I haven't used IIS in a long while, but the code should be simple enough to update

stakach commented 1 month ago

@alexsilva may be able to help you out - they have a more active fork