-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from cmason3/21.12.2-beta
21.12.2 beta
- Loading branch information
Showing
3 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020-2021 Chris Mason ([email protected]) | ||
Copyright (c) 2020-2022 Chris Mason ([email protected]) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env python3 | ||
|
||
# JinjaFx Server - Jinja2 Templating Tool | ||
# Copyright (c) 2020-2021 Chris Mason <[email protected]> | ||
# Copyright (c) 2020-2022 Chris Mason <[email protected]> | ||
# | ||
# Permission to use, copy, modify, and distribute this software for any | ||
# purpose with or without fee is hereby granted, provided that the above | ||
|
@@ -20,7 +20,7 @@ | |
import jinjafx, os, io, sys, socket, signal, threading, yaml, json, base64, time, datetime | ||
import re, argparse, zipfile, hashlib, traceback, glob, hmac, uuid, struct, binascii, gzip | ||
|
||
__version__ = '21.12.1' | ||
__version__ = '21.12.2' | ||
|
||
try: | ||
import requests | ||
|
@@ -296,7 +296,7 @@ def do_POST(self): | |
r = [ 'text/plain', 500, '500 Internal Server Error\r\n', sys._getframe().f_lineno ] | ||
|
||
if 'Content-Length' in self.headers: | ||
if int(self.headers['Content-Length']) < (512 * 1024): | ||
if int(self.headers['Content-Length']) < (2048 * 1024): | ||
postdata = self.rfile.read(int(self.headers['Content-Length'])) | ||
self.length = len(postdata) | ||
|
||
|
@@ -689,7 +689,7 @@ def main(rflag=[0]): | |
|
||
try: | ||
print('JinjaFx Server v' + __version__ + ' - Jinja2 Templating Tool') | ||
print('Copyright (c) 2020-2021 Chris Mason <[email protected]>\n') | ||
print('Copyright (c) 2020-2022 Chris Mason <[email protected]>\n') | ||
|
||
parser = ArgumentParser(add_help=False) | ||
parser.add_argument('-s', action='store_true', required=True) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters