Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
0738603c
Commit
0738603c
authored
Sep 30, 1998
by
terry%netscape.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't do server-push if the user seems to be using Internet Explorer.
parent
007f76fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
10 deletions
+24
-10
buglist.cgi
buglist.cgi
+24
-10
No files found.
buglist.cgi
View file @
0738603c
...
...
@@ -22,12 +22,20 @@
use
diagnostics
;
use
strict
;
print
"Content-type: multipart/x-mixed-replace;boundary=thisrandomstring\n"
;
print
"\n"
;
print
"--thisrandomstring\n"
;
require
"CGI.pl"
;
my
$serverpush
=
1
;
require
"CGI.pl"
;
if
(
$ENV
{
'HTTP_USER_AGENT'
}
=~
/MSIE/
)
{
# Internet explorer doesn't seem to understand server push. What fun.
$serverpush
=
0
;
}
if
(
$serverpush
)
{
print
"Content-type: multipart/x-mixed-replace;boundary=thisrandomstring\n"
;
print
"\n"
;
print
"--thisrandomstring\n"
;
}
# Shut up misguided -w warnings about "used only once":
...
...
@@ -290,9 +298,11 @@ if (defined $::FORM{'order'} && $::FORM{'order'} ne "") {
$query
.=
$::FORM
{
'order'
};
}
print
"Please stand by ... <p>\n"
;
if
(
defined
$::FORM
{
'debug'
})
{
print
"<pre>$query</pre>\n"
;
if
(
$serverpush
)
{
print
"Please stand by ... <p>\n"
;
if
(
defined
$::FORM
{
'debug'
})
{
print
"<pre>$query</pre>\n"
;
}
}
SendSQL
(
$query
);
...
...
@@ -391,8 +401,10 @@ while (@row = FetchSQLData()) {
my
$buglist
=
join
(
":"
,
@bugarray
);
print
"\n"
;
print
"--thisrandomstring\n"
;
if
(
$serverpush
)
{
print
"\n"
;
print
"--thisrandomstring\n"
;
}
my
$toolong
=
0
;
...
...
@@ -594,4 +606,6 @@ if ($count > 0) {
print
"<A HREF=\"buglist.cgi?$fields&tweak=1\">Make changes to several of these bugs at once.</A>\n"
;
}
}
print
"\n--thisrandomstring--\n"
;
if
(
$serverpush
)
{
print
"\n--thisrandomstring--\n"
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment