Hello,
while playing around with Fossil from inetd, saw some weirdness on
trunk tip ([14302b6cc7]) between amd64 and x86 linux and netbsd.
Narrowing it down a bit, I did the following:
./fossil new test.fossil
( echo 'GET /index HTTP/1.1'; echo 'Host: localhost'; echo ) |
./fossil http test.fossil > $my_output_file
...on 4 boxes:
(a) netbsd amd64 kernel on amd64 CPU ('nbsd_amd64')
(b) netbsd x86 kernel on x86 CPU ('nbsd_x86')
(c) linux amd64 kernel on amd64 CPU ('lin_amd64')
(d) linux x86 kernel on amd64 CPU ('lin_x86_on_amd64')
Only on the x86 machine ('b') did I see the expected HTML-output; the
others displayed the same page multiple times. Output-files are
attached.
Machine-info for all 4 boxes:
(a) NetBSD 6.0.1 (GENERIC) amd64
(b) NetBSD 6.1.4 (GENERIC) i386
(c) Linux 3.14.28-1-lts #1 SMP Thu Jan 8 21:04:11 CET 2015 x86_64
unknown unknown GNU/Linux
(d) Linux 3.18.2-2-ARCH #1 SMP PREEMPT Fri Jan 9 07:23:08 CET 2015
i686 GNU/Linux
I tried to debug this a bit, but it's not exactly trivial what happens
during page generation (for me).
Any ideas?
Michai
HTTP/1.0 200 OK
Date: Mon, 2 Mar 2015 18:35:10 GMT
Connection: close
X-UA-Compatible: IE=edge
X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 1413
<!DOCTYPE html>
<html>
<head>
<base href="http://localhost/index" />
<title>Unnamed Fossil Project: Home</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="/timeline.rss" />
<link rel="stylesheet" href="/style.css/14302" type="text/css"
media="screen" />
</head>
<body>
<div class="header">
<div class="logo">
<img src="/logo/14302" alt="logo" />
</div>
<div class="title"><small>Unnamed Fossil Project</small><br />Home</div>
<div class="status">Not logged in</div>
</div>
<div class="mainmenu">
<a href='/home'>Home</a>
<a href='/timeline'>Timeline</a>
<a href='/tree?ci=tip'>Files</a>
<a href='/brlist'>Branches</a>
<a href='/taglist'>Tags</a>
<a href='/ticket'>Tickets</a>
<a href='/wiki'>Wiki</a>
<a href='/login'>Login</a>
</div>
<div class="content">
<script>
function gebi(x){
if(x.substr(0,1)=='#') x = x.substr(1);
var e = document.getElementById(x);
if(!e) throw new Error('Expecting element with ID '+x);
else return e;}
</script>
<p>This is a stub home-page for the project.
To fill in this page, first go to
<a id='a1' href='/honeypot'>setup/config</a>
and establish a "Project Name". Then create a
wiki page with that name. The content of that wiki page
will be displayed in place of this message.</p>
</div>
<div class="footer">
This page was generated in about
0.001s by
Fossil version [14302b6cc7] 2015-03-02 05:54:14
</div>
</body></html>
HTTP/1.0 200 OK
Date: Mon, 2 Mar 2015 18:35:10 GMT
Connection: close
X-UA-Compatible: IE=edge
X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 2826
<!DOCTYPE html>
<html>
<head>
<base href="http://localhost/index" />
<title>Unnamed Fossil Project: Home</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="/timeline.rss" />
<link rel="stylesheet" href="/style.css/14302" type="text/css"
media="screen" />
</head>
<body>
<div class="header">
<div class="logo">
<img src="/logo/14302" alt="logo" />
</div>
<div class="title"><small>Unnamed Fossil Project</small><br />Home</div>
<div class="status">Not logged in</div>
</div>
<div class="mainmenu">
<a href='/home'>Home</a>
<a href='/timeline'>Timeline</a>
<a href='/tree?ci=tip'>Files</a>
<a href='/brlist'>Branches</a>
<a href='/taglist'>Tags</a>
<a href='/ticket'>Tickets</a>
<a href='/wiki'>Wiki</a>
<a href='/login'>Login</a>
</div>
<div class="content">
<!DOCTYPE html>
<html>
<head>
<base href="http://localhost/index" />
<title>Unnamed Fossil Project: Home</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="/timeline.rss" />
<link rel="stylesheet" href="/style.css/14302" type="text/css"
media="screen" />
</head>
<body>
<div class="header">
<div class="logo">
<img src="/logo/14302" alt="logo" />
</div>
<div class="title"><small>Unnamed Fossil Project</small><br />Home</div>
<div class="status">Not logged in</div>
</div>
<div class="mainmenu">
<a href='/home'>Home</a>
<a href='/timeline'>Timeline</a>
<a href='/tree?ci=tip'>Files</a>
<a href='/brlist'>Branches</a>
<a href='/taglist'>Tags</a>
<a href='/ticket'>Tickets</a>
<a href='/wiki'>Wiki</a>
<a href='/login'>Login</a>
</div>
<div class="content">
<script>
function gebi(x){
if(x.substr(0,1)=='#') x = x.substr(1);
var e = document.getElementById(x);
if(!e) throw new Error('Expecting element with ID '+x);
else return e;}
</script>
<p>This is a stub home-page for the project.
To fill in this page, first go to
<a id='a1' href='/honeypot'>setup/config</a>
and establish a "Project Name". Then create a
wiki page with that name. The content of that wiki page
will be displayed in place of this message.</p>
</div>
<div class="footer">
This page was generated in about
0.001s by
Fossil version [14302b6cc7] 2015-03-02 05:54:14
</div>
</body></html>
<script>
function gebi(x){
if(x.substr(0,1)=='#') x = x.substr(1);
var e = document.getElementById(x);
if(!e) throw new Error('Expecting element with ID '+x);
else return e;}
</script>
<p>This is a stub home-page for the project.
To fill in this page, first go to
<a id='a2' href='/honeypot'>setup/config</a>
and establish a "Project Name". Then create a
wiki page with that name. The content of that wiki page
will be displayed in place of this message.</p>
</div>
<div class="footer">
This page was generated in about
0.001s by
Fossil version [14302b6cc7] 2015-03-02 05:54:14
</div>
</body></html>
HTTP/1.0 200 OK
Date: Mon, 2 Mar 2015 18:37:15 GMT
Connection: close
X-UA-Compatible: IE=edge
X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 1413
<!DOCTYPE html>
<html>
<head>
<base href="http://localhost/index" />
<title>Unnamed Fossil Project: Home</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="/timeline.rss" />
<link rel="stylesheet" href="/style.css/14302" type="text/css"
media="screen" />
</head>
<body>
<div class="header">
<div class="logo">
<img src="/logo/14302" alt="logo" />
</div>
<div class="title"><small>Unnamed Fossil Project</small><br />Home</div>
<div class="status">Not logged in</div>
</div>
<div class="mainmenu">
<a href='/home'>Home</a>
<a href='/timeline'>Timeline</a>
<a href='/tree?ci=tip'>Files</a>
<a href='/brlist'>Branches</a>
<a href='/taglist'>Tags</a>
<a href='/ticket'>Tickets</a>
<a href='/wiki'>Wiki</a>
<a href='/login'>Login</a>
</div>
<div class="content">
<script>
function gebi(x){
if(x.substr(0,1)=='#') x = x.substr(1);
var e = document.getElementById(x);
if(!e) throw new Error('Expecting element with ID '+x);
else return e;}
</script>
<p>This is a stub home-page for the project.
To fill in this page, first go to
<a id='a1' href='/honeypot'>setup/config</a>
and establish a "Project Name". Then create a
wiki page with that name. The content of that wiki page
will be displayed in place of this message.</p>
</div>
<div class="footer">
This page was generated in about
0.001s by
Fossil version [14302b6cc7] 2015-03-02 05:54:14
</div>
</body></html>
HTTP/1.0 200 OK
Date: Mon, 2 Mar 2015 18:37:15 GMT
Connection: close
X-UA-Compatible: IE=edge
X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 2826
<!DOCTYPE html>
<html>
<head>
<base href="http://localhost/index" />
<title>Unnamed Fossil Project: Home</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="/timeline.rss" />
<link rel="stylesheet" href="/style.css/14302" type="text/css"
media="screen" />
</head>
<body>
<div class="header">
<div class="logo">
<img src="/logo/14302" alt="logo" />
</div>
<div class="title"><small>Unnamed Fossil Project</small><br />Home</div>
<div class="status">Not logged in</div>
</div>
<div class="mainmenu">
<a href='/home'>Home</a>
<a href='/timeline'>Timeline</a>
<a href='/tree?ci=tip'>Files</a>
<a href='/brlist'>Branches</a>
<a href='/taglist'>Tags</a>
<a href='/ticket'>Tickets</a>
<a href='/wiki'>Wiki</a>
<a href='/login'>Login</a>
</div>
<div class="content">
<!DOCTYPE html>
<html>
<head>
<base href="http://localhost/index" />
<title>Unnamed Fossil Project: Home</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="/timeline.rss" />
<link rel="stylesheet" href="/style.css/14302" type="text/css"
media="screen" />
</head>
<body>
<div class="header">
<div class="logo">
<img src="/logo/14302" alt="logo" />
</div>
<div class="title"><small>Unnamed Fossil Project</small><br />Home</div>
<div class="status">Not logged in</div>
</div>
<div class="mainmenu">
<a href='/home'>Home</a>
<a href='/timeline'>Timeline</a>
<a href='/tree?ci=tip'>Files</a>
<a href='/brlist'>Branches</a>
<a href='/taglist'>Tags</a>
<a href='/ticket'>Tickets</a>
<a href='/wiki'>Wiki</a>
<a href='/login'>Login</a>
</div>
<div class="content">
<script>
function gebi(x){
if(x.substr(0,1)=='#') x = x.substr(1);
var e = document.getElementById(x);
if(!e) throw new Error('Expecting element with ID '+x);
else return e;}
</script>
<p>This is a stub home-page for the project.
To fill in this page, first go to
<a id='a1' href='/honeypot'>setup/config</a>
and establish a "Project Name". Then create a
wiki page with that name. The content of that wiki page
will be displayed in place of this message.</p>
</div>
<div class="footer">
This page was generated in about
0.001s by
Fossil version [14302b6cc7] 2015-03-02 05:54:14
</div>
</body></html>
<script>
function gebi(x){
if(x.substr(0,1)=='#') x = x.substr(1);
var e = document.getElementById(x);
if(!e) throw new Error('Expecting element with ID '+x);
else return e;}
</script>
<p>This is a stub home-page for the project.
To fill in this page, first go to
<a id='a2' href='/honeypot'>setup/config</a>
and establish a "Project Name". Then create a
wiki page with that name. The content of that wiki page
will be displayed in place of this message.</p>
</div>
<div class="footer">
This page was generated in about
0.004s by
Fossil version [14302b6cc7] 2015-03-02 05:54:14
</div>
</body></html>
HTTP/1.0 200 OK
Date: Mon, 2 Mar 2015 18:24:56 GMT
Connection: close
X-UA-Compatible: IE=edge
X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 1413
<!DOCTYPE html>
<html>
<head>
<base href="http://localhost/index" />
<title>Unnamed Fossil Project: Home</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="/timeline.rss" />
<link rel="stylesheet" href="/style.css/14302" type="text/css"
media="screen" />
</head>
<body>
<div class="header">
<div class="logo">
<img src="/logo/14302" alt="logo" />
</div>
<div class="title"><small>Unnamed Fossil Project</small><br />Home</div>
<div class="status">Not logged in</div>
</div>
<div class="mainmenu">
<a href='/home'>Home</a>
<a href='/timeline'>Timeline</a>
<a href='/tree?ci=tip'>Files</a>
<a href='/brlist'>Branches</a>
<a href='/taglist'>Tags</a>
<a href='/ticket'>Tickets</a>
<a href='/wiki'>Wiki</a>
<a href='/login'>Login</a>
</div>
<div class="content">
<script>
function gebi(x){
if(x.substr(0,1)=='#') x = x.substr(1);
var e = document.getElementById(x);
if(!e) throw new Error('Expecting element with ID '+x);
else return e;}
</script>
<p>This is a stub home-page for the project.
To fill in this page, first go to
<a id='a1' href='/honeypot'>setup/config</a>
and establish a "Project Name". Then create a
wiki page with that name. The content of that wiki page
will be displayed in place of this message.</p>
</div>
<div class="footer">
This page was generated in about
0.007s by
Fossil version [14302b6cc7] 2015-03-02 05:54:14
</div>
</body></html>
HTTP/1.0 200 OK
Date: Mon, 2 Mar 2015 18:24:56 GMT
Connection: close
X-UA-Compatible: IE=edge
X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 2826
<!DOCTYPE html>
<html>
<head>
<base href="http://localhost/index" />
<title>Unnamed Fossil Project: Home</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="/timeline.rss" />
<link rel="stylesheet" href="/style.css/14302" type="text/css"
media="screen" />
</head>
<body>
<div class="header">
<div class="logo">
<img src="/logo/14302" alt="logo" />
</div>
<div class="title"><small>Unnamed Fossil Project</small><br />Home</div>
<div class="status">Not logged in</div>
</div>
<div class="mainmenu">
<a href='/home'>Home</a>
<a href='/timeline'>Timeline</a>
<a href='/tree?ci=tip'>Files</a>
<a href='/brlist'>Branches</a>
<a href='/taglist'>Tags</a>
<a href='/ticket'>Tickets</a>
<a href='/wiki'>Wiki</a>
<a href='/login'>Login</a>
</div>
<div class="content">
<!DOCTYPE html>
<html>
<head>
<base href="http://localhost/index" />
<title>Unnamed Fossil Project: Home</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="/timeline.rss" />
<link rel="stylesheet" href="/style.css/14302" type="text/css"
media="screen" />
</head>
<body>
<div class="header">
<div class="logo">
<img src="/logo/14302" alt="logo" />
</div>
<div class="title"><small>Unnamed Fossil Project</small><br />Home</div>
<div class="status">Not logged in</div>
</div>
<div class="mainmenu">
<a href='/home'>Home</a>
<a href='/timeline'>Timeline</a>
<a href='/tree?ci=tip'>Files</a>
<a href='/brlist'>Branches</a>
<a href='/taglist'>Tags</a>
<a href='/ticket'>Tickets</a>
<a href='/wiki'>Wiki</a>
<a href='/login'>Login</a>
</div>
<div class="content">
<script>
function gebi(x){
if(x.substr(0,1)=='#') x = x.substr(1);
var e = document.getElementById(x);
if(!e) throw new Error('Expecting element with ID '+x);
else return e;}
</script>
<p>This is a stub home-page for the project.
To fill in this page, first go to
<a id='a1' href='/honeypot'>setup/config</a>
and establish a "Project Name". Then create a
wiki page with that name. The content of that wiki page
will be displayed in place of this message.</p>
</div>
<div class="footer">
This page was generated in about
0.007s by
Fossil version [14302b6cc7] 2015-03-02 05:54:14
</div>
</body></html>
<script>
function gebi(x){
if(x.substr(0,1)=='#') x = x.substr(1);
var e = document.getElementById(x);
if(!e) throw new Error('Expecting element with ID '+x);
else return e;}
</script>
<p>This is a stub home-page for the project.
To fill in this page, first go to
<a id='a2' href='/honeypot'>setup/config</a>
and establish a "Project Name". Then create a
wiki page with that name. The content of that wiki page
will be displayed in place of this message.</p>
</div>
<div class="footer">
This page was generated in about
0.008s by
Fossil version [14302b6cc7] 2015-03-02 05:54:14
</div>
</body></html>
HTTP/1.0 200 OK
Date: Mon, 2 Mar 2015 18:24:07 GMT
Connection: close
X-UA-Compatible: IE=edge
X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 1413
<!DOCTYPE html>
<html>
<head>
<base href="http://localhost/index" />
<title>Unnamed Fossil Project: Home</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="/timeline.rss" />
<link rel="stylesheet" href="/style.css/14302" type="text/css"
media="screen" />
</head>
<body>
<div class="header">
<div class="logo">
<img src="/logo/14302" alt="logo" />
</div>
<div class="title"><small>Unnamed Fossil Project</small><br />Home</div>
<div class="status">Not logged in</div>
</div>
<div class="mainmenu">
<a href='/home'>Home</a>
<a href='/timeline'>Timeline</a>
<a href='/tree?ci=tip'>Files</a>
<a href='/brlist'>Branches</a>
<a href='/taglist'>Tags</a>
<a href='/ticket'>Tickets</a>
<a href='/wiki'>Wiki</a>
<a href='/login'>Login</a>
</div>
<div class="content">
<script>
function gebi(x){
if(x.substr(0,1)=='#') x = x.substr(1);
var e = document.getElementById(x);
if(!e) throw new Error('Expecting element with ID '+x);
else return e;}
</script>
<p>This is a stub home-page for the project.
To fill in this page, first go to
<a id='a1' href='/honeypot'>setup/config</a>
and establish a "Project Name". Then create a
wiki page with that name. The content of that wiki page
will be displayed in place of this message.</p>
</div>
<div class="footer">
This page was generated in about
0.005s by
Fossil version [14302b6cc7] 2015-03-02 05:54:14
</div>
</body></html>
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users