summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--create/schema/schema.sql2
-rw-r--r--include/db.h2
3 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a32f25d..340ee469 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
Changes for 1.5.4
+ - [DEV-187] increased Url field in web scenario (Sasha)
- [DEV-195] added support of source ip address (Sasha)
- [DEV-191] added inline update of "Latest Data" screen (Artem)
- [DEV-193] improved viewing integer items on graphs (Artem)
diff --git a/create/schema/schema.sql b/create/schema/schema.sql
index ef481942..4966ad4b 100644
--- a/create/schema/schema.sql
+++ b/create/schema/schema.sql
@@ -98,7 +98,7 @@ FIELD |httpstepid |t_id |'0' |NOT NULL |0
FIELD |httptestid |t_id |'0' |NOT NULL |ZBX_SYNC
FIELD |name |t_varchar(64) |'' |NOT NULL |ZBX_SYNC
FIELD |no |t_integer |'0' |NOT NULL |ZBX_SYNC
-FIELD |url |t_varchar(128) |'' |NOT NULL |ZBX_SYNC
+FIELD |url |t_varchar(255) |'' |NOT NULL |ZBX_SYNC
FIELD |timeout |t_integer |'30' |NOT NULL |ZBX_SYNC
FIELD |posts |t_blob |'' |NOT NULL |ZBX_SYNC
FIELD |required |t_varchar(255) |'' |NOT NULL |ZBX_SYNC
diff --git a/include/db.h b/include/db.h
index 158cc489..4ad76d4f 100644
--- a/include/db.h
+++ b/include/db.h
@@ -454,7 +454,7 @@ DB_HTTPSTEP
zbx_uint64_t httptestid;
int no;
char *name;
- char url[MAX_STRING_LEN];
+ char url[MAX_STRING_LEN]; /* excessive length is required to support macros */
int timeout;
char posts[MAX_STRING_LEN];
char required[HTTPSTEP_REQUIRED_LEN_MAX];