projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aligning log messages for nice look-and-feel
[pazpar2-moved-to-github.git]
/
src
/
http.c
diff --git
a/src/http.c
b/src/http.c
index
e4655e5
..
61d3fd9
100644
(file)
--- a/
src/http.c
+++ b/
src/http.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: http.c,v 1.17 2007-03-30 02:45:07 quinn Exp $
+ * $Id: http.c,v 1.19 2007-03-31 20:06:18 marc Exp $
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-974,7
+974,7
@@
void http_init(const char *addr)
const char *pp;
int port;
const char *pp;
int port;
- yaz_log(YLOG_LOG, "HTTP listener is %s", addr);
+ yaz_log(YLOG_LOG, "HTTP listener %s", addr);
memset(&myaddr, 0, sizeof myaddr);
myaddr.sin_family = AF_INET;
memset(&myaddr, 0, sizeof myaddr);
myaddr.sin_family = AF_INET;
@@
-1031,6
+1031,7
@@
void http_set_proxyaddr(char *host, char *base_url)
strcpy(proxy_url, host);
p = strchr(host, ':');
yaz_log(YLOG_DEBUG, "Proxying for %s", host);
strcpy(proxy_url, host);
p = strchr(host, ':');
yaz_log(YLOG_DEBUG, "Proxying for %s", host);
+ yaz_log(YLOG_LOG, "HTTP backend %s", proxy_url);
if (p) {
port = atoi(p + 1);
*p = '\0';
if (p) {
port = atoi(p + 1);
*p = '\0';