Questions tagged [nph]

NPH mode means `no-parsed-header' in CGI.

5 questions
1
vote
0 answers

Using NPH Mode in CGI executable EXE on IIS 7.0 - can this be "realtime?"

I am writing a prototype CGI application to run on an IIS 7.0 server, which will ultimately result in that application sending a number of http chunked responses that are generated in response to a query that may take some time to generate the…
unsynchronized
  • 4,828
  • 2
  • 31
  • 43
1
vote
1 answer

Issue with filename containing "-" in PERL

I have created a file called "nph-select.pl" and put code for redirection as below. #!"D:\xampp\perl\bin\perl.exe" -w use CGI qw/:standard/; my $cgi = new CGI; print $cgi->redirect(-uri => 'http://www.google.com/', -nph => 1); and executing…
Rahul
  • 55
  • 1
  • 1
  • 5
1
vote
1 answer

How to tell modern browsers to display lines as they arrive

In the early days of web browsers and servers, it was possible to create scripts that would send data to the browser and the browser would display it as it arrived. For example, the traditional NPH test…
Stephen Harris
  • 336
  • 7
  • 11
0
votes
1 answer

Implementing SSL server using libssl and sendmsg() SCM_RIGHTS

I'm now wondering whether we can make some sort of SSL server based on the following policies/scheme under Linux environment. (1) As for the initial request, it should be incoming in the parent server process. After establishing SSL connection and…
Smg
  • 1,133
  • 1
  • 8
  • 9
0
votes
1 answer

I am trying to send an HTML part as chunks in an HTTP response using a perl script but I am getting compilation errors

Following is a portion of the script I am using to send HTML page as chunked response. However upon running the script throws compilation errors like : Number found where operator expected at nph-99_1_1_18.pl line 19, near "print "233" (Might be a…
Dcoder
  • 379
  • 2
  • 7
  • 13